Sfoglia il codice sorgente

Adjusted vertical-align of .ck-button.

Aleksander Nowodzinski 8 anni fa
parent
commit
036e2e57ed

+ 4 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

@@ -73,6 +73,10 @@ a.ck-button {
 		font-weight: inherit;
 		color: inherit;
 		cursor: inherit;
+
+		/* Must be consistent with .ck-icon's vertical align. Otherwise, buttons with and
+		without labels (but with icons) have different sizes in Chrome */
+		vertical-align: top;
 	}
 }