Browse Source

Code refactoring in Dropdown and List files. Used ck-z() helper to fix issues with layers.

Aleksander Nowodzinski 9 years ago
parent
commit
90981b4bbd

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

@@ -26,6 +26,8 @@
 	box-shadow: 0 0 5px ck-color( 'foreground', -15 );
 	position: absolute;
 	left: 0px;
+	background: ck-color( 'background' );
+	z-index: ck-z();
 
 	// Compensate double border from button and from box when positioned below the button.
 	margin-top: -1px;

+ 1 - 1
packages/ckeditor5-theme-lark/theme/components/list.scss

@@ -11,9 +11,9 @@
 
 	&__item {
 		display: block;
-		min-width: 12em;
 		padding: ck-spacing( 'medium' );
 		cursor: pointer;
+		min-width: 12em;
 
 		&:hover,
 		&:focus {