Jelajahi Sumber

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

Aleksander Nowodzinski 8 tahun lalu
induk
melakukan
3d8df5faf2
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      packages/ckeditor5-ui/theme/components/button/button.css

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

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