瀏覽代碼

Made toolbar component flex-driven.

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

+ 0 - 10
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

@@ -11,9 +11,6 @@
 	padding: var(--ck-spacing-small);
 	border: 1px solid var(--ck-color-toolbar-border);
 
-	/* Allow wrapping toolbar items to the new line. */
-	white-space: initial;
-
 	/* (#11) Separate toolbar items. */
 	& > * {
 		margin-right: var(--ck-spacing-small);
@@ -28,13 +25,6 @@
 	}
 }
 
-.ck-toolbar_floating {
-	/* Disallow wrapping toolbar items to the new line when the toolbar is floating,
-	resulting in an toolbar shapes when the horizontal space is limited.
-	https://github.com/ckeditor/ckeditor5-theme-lark/issues/93 */
-	white-space: nowrap;
-}
-
 .ck-toolbar__separator {
 	width: 1px;
 	height: calc(1em + 2 * var(--ck-spacing-medium));