Sfoglia il codice sorgente

Reduce width of overflowed button menu

Alasdair Smith 8 anni fa
parent
commit
611a6f9c0b
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      services/web/public/stylesheets/app/editor/toolbar.less

+ 5 - 0
services/web/public/stylesheets/app/editor/toolbar.less

@@ -292,8 +292,13 @@ formatting-buttons {
 
 .formatting-menu {
 	min-width: auto;
+	max-width: 130px;
 
 	.formatting-menu-item {
 		float: left;
+
+		&:nth-of-type(4n + 1) .formatting-btn {
+			border-left: none;
+		}
 	}
 }