From 5a675f800114d674fcdbfc9929793e3fcebcaddc Mon Sep 17 00:00:00 2001 From: dkonopka Date: Wed, 22 May 2019 14:03:15 +0200 Subject: [PATCH] Make counter margins equal to the navigation buttons. --- theme/ckeditor5-ui/components/panel/balloonrotator.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/theme/ckeditor5-ui/components/panel/balloonrotator.css b/theme/ckeditor5-ui/components/panel/balloonrotator.css index 44761a4..a3018b9 100644 --- a/theme/ckeditor5-ui/components/panel/balloonrotator.css +++ b/theme/ckeditor5-ui/components/panel/balloonrotator.css @@ -18,7 +18,9 @@ /* Gives counter more breath than buttons. */ & .ck-balloon-rotator__counter { margin-right: var(--ck-spacing-standard); - margin-left: var(--ck-spacing-standard); + + /* We need to use smaller margin because of previous button's right margin. */ + margin-left: var(--ck-spacing-small); } }