瀏覽代碼

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

Aleksander Nowodzinski 7 年之前
父節點
當前提交
75e97f849b
共有 1 個文件被更改,包括 13 次插入4 次删除
  1. 13 4
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

+ 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;
 		}
 	}