Browse Source

Fixed label width in the Dropdown to avoid uncontrolled size changes.

Aleksander Nowodzinski 9 years ago
parent
commit
7bec1684c8
1 changed files with 7 additions and 0 deletions
  1. 7 0
      packages/ckeditor5-theme-lark/theme/components/dropdown.scss

+ 7 - 0
packages/ckeditor5-theme-lark/theme/components/dropdown.scss

@@ -18,6 +18,13 @@
 		top: .9em;
 		margin-left: ck-spacing( 'medium' );
 	}
+
+	// #23
+	.ck-button__label {
+		width: 7em;
+		overflow: hidden;
+		text-overflow: ellipsis;
+	}
 }
 
 .ck-dropdown__panel {