Browse Source

Refactoring in the button styles to allow centered button content.

Aleksander Nowodzinski 8 years ago
parent
commit
6ccc940d6b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      packages/ckeditor5-ui/theme/components/button/button.css

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

@@ -14,9 +14,13 @@ a.ck-button {
 	display: inline-block;
 	position: relative;
 
+	@mixin ck-button-icon {
+		display: inline-block;
+	}
+
 	&.ck-button_with-text {
 		& .ck-button__label {
-			display: block;
+			display: inline-block;
 		}
 	}