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

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

@@ -12,15 +12,11 @@ a.ck-button {
 	@mixin ck-unselectable;
 	@mixin ck-tooltip_enabled;
 
-	display: inline-flex;
-	flex-flow: row nowrap;
-	align-items: center;
 	position: relative;
-	justify-content: center;
 
 	&.ck-button_with-text {
 		& .ck-button__label {
-			display: inline;
+			display: inline-block;
 		}
 	}
 

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

@@ -5,7 +5,7 @@
 
 svg.ck-icon {
 	/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
-	font-size: 0.833333em;
+	font-size: 0.8333333333em;
 
 	/* Must be consistent with .ck-button__label's vertical align. Otherwise, buttons with and
 	without labels (but with icons) have different sizes in Chrome */