Browse Source

Merge pull request #496 from ckeditor/t/495

Fix: Rotatable balloons should center toolbar items.
Kacper Tomporowski 6 years ago
parent
commit
d6e6509978
1 changed files with 7 additions and 0 deletions
  1. 7 0
      packages/ckeditor5-ui/theme/components/panel/balloonrotator.css

+ 7 - 0
packages/ckeditor5-ui/theme/components/panel/balloonrotator.css

@@ -8,3 +8,10 @@
 	align-items: center;
 	justify-content: center;
 }
+
+/* Buttons inside a toolbar should be centered when rotator bar is wider.
+ * See: https://github.com/ckeditor/ckeditor5-ui/issues/495
+ */
+.ck .ck-balloon-rotator__content .ck-toolbar {
+	justify-content: center;
+}