瀏覽代碼

Refactoring in the dropdown styles to allow dropdowns spaning entire horizontal space.

Aleksander Nowodzinski 8 年之前
父節點
當前提交
4f2980c30b
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      packages/ckeditor5-ui/theme/components/dropdown/dropdown.css

+ 5 - 0
packages/ckeditor5-ui/theme/components/dropdown/dropdown.css

@@ -19,6 +19,11 @@
 		top: 50%;
 		transform: translate( 0, -50% );
 	}
+
+	/* Dropdown button should span horizontally, e.g. in vertical toolbars */
+	& .ck-button.ck-dropdown__button {
+		width: 100%;
+	}
 }
 
 .ck-dropdown__panel {