8
0
Просмотр исходного кода

Internal: Adjusted the look and feel of vertical toolbar's items.

Aleksander Nowodzinski 7 лет назад
Родитель
Сommit
75e97f849b

+ 13 - 4
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

@@ -21,12 +21,21 @@
 	}
 
 	&.ck-toolbar_vertical {
-		& > * {
-			/* Items in a vertical toolbar should have no horizontal margin */
-			margin-right: 0;
+		/* Items in a vertical toolbar span the entire width. */
+		padding: 0;
 
-			/* Items in a vertical toolbar should span the horizontal space */
+		& > * {
+			/* Items in a vertical toolbar should span the horizontal space. */
 			width: 100%;
+
+			/* Items in a vertical toolbar should have no margin. */
+			margin: 0;
+
+			/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */
+			border-radius: 0;
+
+			/* Items in a vertical toolbar span the entire width so any border is pointless. */
+			border: 0;
 		}
 	}