From 7a89ed8be9122ae028ea31af3c015c5ed8cde07a Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 30 Nov 2020 15:14:22 +0100 Subject: [PATCH] Docs. --- .../theme/ckeditor5-widget/widgettypearound.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css b/packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css index f3bb2653a58..6568df04389 100644 --- a/packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css +++ b/packages/ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css @@ -193,13 +193,16 @@ } } -/* In a RTL environment, the selection handler is aligned to the right side of the widget */ +/* + * Styles for the "before" button when the widget has a selection handle in an RTL environment. + * The selection handler is aligned to the right side of the widget so there is no need to create + * additional space for it next to the "before" button. + */ .ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before { margin-left: 0; margin-right: 20px; } - /* * Hide type around buttons when the widget is selected as a child of a selected * nested editable (e.g. mulit-cell table selection).