瀏覽代碼

Merge pull request #225 from ckeditor/t/168

Fix: Vertical toolbar items should have no border-radius. Closes #168.
Piotrek Koszuliński 6 年之前
父節點
當前提交
83e006beb2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

+ 2 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

@@ -25,7 +25,8 @@
 		/* Items in a vertical toolbar span the entire width. */
 		padding: 0;
 
-		& > * {
+		/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */
+		& > .ck {
 			/* Items in a vertical toolbar should span the horizontal space. */
 			width: 100%;