8
0
Просмотр исходного кода

Extended the fix with the split button.

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
dcad380be2

+ 12 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css

@@ -48,4 +48,16 @@
 			border-left-color: var(--ck-color-split-button-hover-border);
 		}
 	}
+
+	/* Don't round the bottom left and right corners of the buttons when "open"
+	https://github.com/ckeditor/ckeditor5/issues/816 */
+	&.ck-splitbutton_open {
+		& > .ck-splitbutton__action {
+			border-bottom-left-radius: 0;
+		}
+
+		& > .ck-splitbutton__arrow {
+			border-bottom-right-radius: 0;
+		}
+	}
 }