Explorar o código

Adjusted vertical-align of .ck-icon.

Aleksander Nowodzinski %!s(int64=8) %!d(string=hai) anos
pai
achega
0e531e837a
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      packages/ckeditor5-ui/theme/components/icon/icon.css

+ 5 - 1
packages/ckeditor5-ui/theme/components/icon/icon.css

@@ -5,7 +5,11 @@
 
 svg.ck-icon {
 	font-size: 1em;
-	vertical-align: middle;
+
+	/* Must be consistent with .ck-button__label's vertical align. Otherwise, buttons with and
+	without labels (but with icons) have different sizes in Chrome */
+	vertical-align: top;
+
 	color: inherit;
 
 	/* Inherit cursor style (#5). */