Procházet zdrojové kódy

Let's keep button children centered (helpful when button is wide, e.g. in the dropdown panel.

Aleksander Nowodzinski před 8 roky
rodič
revize
3d8df5faf2

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

@@ -16,6 +16,7 @@ a.ck-button {
 	flex-flow: row nowrap;
 	align-items: center;
 	position: relative;
+	justify-content: center;
 
 	&.ck-button_with-text {
 		& .ck-button__label {