8
0
فهرست منبع

Adjusted vertical-align of .ck-icon.

Aleksander Nowodzinski 8 سال پیش
والد
کامیت
0e531e837a
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  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). */