From 8cf3b498d62fa7ffe29c89dcb0bdf06a5fe22cd3 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Thu, 3 Nov 2022 20:29:58 +0300 Subject: [PATCH] [rtl] Fix advanced settings for PE --- .../template/ImageSettingsAdvanced.template | 4 +- .../ParagraphSettingsAdvanced.template | 26 ++++----- .../template/ShapeSettingsAdvanced.template | 4 +- .../resources/less/advanced-settings.less | 54 +++++++++++++++++++ 4 files changed, 71 insertions(+), 17 deletions(-) diff --git a/apps/presentationeditor/main/app/template/ImageSettingsAdvanced.template b/apps/presentationeditor/main/app/template/ImageSettingsAdvanced.template index bd32ccc50..74c05616f 100644 --- a/apps/presentationeditor/main/app/template/ImageSettingsAdvanced.template +++ b/apps/presentationeditor/main/app/template/ImageSettingsAdvanced.template @@ -58,7 +58,7 @@
-
+
@@ -66,7 +66,7 @@ - @@ -71,7 +71,7 @@ - @@ -79,7 +79,7 @@ - @@ -105,11 +105,11 @@
-
+
-
+
@@ -120,8 +120,8 @@
- - + +
diff --git a/apps/presentationeditor/main/app/template/ShapeSettingsAdvanced.template b/apps/presentationeditor/main/app/template/ShapeSettingsAdvanced.template index d8da572f2..49b3bc75a 100644 --- a/apps/presentationeditor/main/app/template/ShapeSettingsAdvanced.template +++ b/apps/presentationeditor/main/app/template/ShapeSettingsAdvanced.template @@ -56,7 +56,7 @@
-
+
@@ -64,7 +64,7 @@
- +
diff --git a/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template b/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template index 397e41ebd..fb2079162 100644 --- a/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template +++ b/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template @@ -8,11 +8,11 @@
-
+
+ -->
-
+
+ -->
@@ -63,7 +63,7 @@
+
+
+
- +
diff --git a/apps/presentationeditor/main/resources/less/advanced-settings.less b/apps/presentationeditor/main/resources/less/advanced-settings.less index 7d3cf7c5f..93674bfc6 100644 --- a/apps/presentationeditor/main/resources/less/advanced-settings.less +++ b/apps/presentationeditor/main/resources/less/advanced-settings.less @@ -7,4 +7,58 @@ } } +#id-adv-shape-rotate, +#id-adv-image-rotate { + #shape-advanced-spin-angle, #image-advanced-spin-angle { + margin-left: 5px; + + .rtl & { + margin-left: 0; + margin-right: 5px; + } + } + + .flipped { + margin-right: 15px; + + .rtl & { + margin-right: 0; + margin-left: 15px; + } + } +} + +#id-adv-paragraph-indents { + .margin-right { + margin-right: 3px; + + .rtl & { + margin-right: 0; + margin-left: 3px; + } + } +} + +#id-adv-paragraph-font { + .padding-left { + padding-left: 40px; + + .rtl & { + padding-left: 0; + padding-right: 40px; + } + } +} + +#id-adv-paragraph-tabs { + .margin-right { + margin-right: 9px; + + .rtl & { + margin-right: 0; + margin-left: 9px; + } + } +} +