8
0
Эх сурвалжийг харах

Changed order of rotator buttons.

Damian Konopka 6 жил өмнө
parent
commit
241db30c8e

+ 3 - 3
packages/ckeditor5-ui/src/panel/balloon/contextualballoon.js

@@ -464,12 +464,11 @@ class RotatorView extends View {
 					},
 					children: [
 						this.buttonPrevView,
-						this.buttonNextView,
 						{
 							tag: 'span',
 
 							attributes: {
-								class: 'ck-balloon-rotattor__counter',
+								class: 'ck-balloon-rotator__counter',
 							},
 
 							children: [
@@ -477,7 +476,8 @@ class RotatorView extends View {
 									text: bind.to( 'counter' )
 								}
 							]
-						}
+						},
+						this.buttonNextView,
 					]
 				},
 				{

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

@@ -6,4 +6,5 @@
 .ck .ck-balloon-rotator__navigation {
 	display: flex;
 	align-items: center;
+	justify-content: center;
 }