From 04161630840b0280b542f1fa70c9a4040d019090 Mon Sep 17 00:00:00 2001 From: martyanov-av Date: Tue, 23 Jan 2024 19:09:20 +0300 Subject: [PATCH] fix(rtl): search & doc pages --- src/components/DocPage/DocPage.scss | 4 ++-- src/components/Paginator/Paginator.scss | 1 + src/components/SearchPage/SearchPage.scss | 4 ---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/DocPage/DocPage.scss b/src/components/DocPage/DocPage.scss index 2b6d1944..3867c82e 100644 --- a/src/components/DocPage/DocPage.scss +++ b/src/components/DocPage/DocPage.scss @@ -56,8 +56,8 @@ right: 7px; [dir='rtl'] & { - flex-direction: row-reverse; - left: -210px; + left: 7px; + right: auto; } & > .dc-controls { diff --git a/src/components/Paginator/Paginator.scss b/src/components/Paginator/Paginator.scss index dd46a713..c8993e19 100644 --- a/src/components/Paginator/Paginator.scss +++ b/src/components/Paginator/Paginator.scss @@ -11,6 +11,7 @@ [dir='rtl'] & { flex-direction: row-reverse; + justify-content: flex-end; } &__item { diff --git a/src/components/SearchPage/SearchPage.scss b/src/components/SearchPage/SearchPage.scss index a1c6c115..57a0b559 100644 --- a/src/components/SearchPage/SearchPage.scss +++ b/src/components/SearchPage/SearchPage.scss @@ -14,10 +14,6 @@ &__search-field-wrapper { display: flex; align-items: center; - - [dir='rtl'] & { - flex-direction: row-reverse; - } } &__search-button {