From c3b68f9b4f061cb5b8276c44c325a73ee4d59d82 Mon Sep 17 00:00:00 2001 From: mahdiyeh-fs Date: Mon, 3 Apr 2023 13:30:09 +0330 Subject: [PATCH 1/3] fix: padding for language --- .../App/Components/Layout/Header/toggle-menu-drawer.jsx | 9 ++++++--- .../App/Containers/SettingsModal/settings-language.jsx | 2 +- .../sass/app/_common/components/settings-language.scss | 9 ++++++++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/packages/core/src/App/Components/Layout/Header/toggle-menu-drawer.jsx b/packages/core/src/App/Components/Layout/Header/toggle-menu-drawer.jsx index 757550f42aa1..329594e6bc48 100644 --- a/packages/core/src/App/Components/Layout/Header/toggle-menu-drawer.jsx +++ b/packages/core/src/App/Components/Layout/Header/toggle-menu-drawer.jsx @@ -361,9 +361,12 @@ const ToggleMenuDrawer = observer(({ platform_config }) => { submenu_toggle_class='dc-mobile-drawer__submenu-toggle--hidden' >
{Object.keys(getAllowedLanguages()).map(lang => ( { return (
-
+
{Object.keys(getAllowedLanguages()).map(lang => isCurrentLanguage(lang, current_language) ? ( diff --git a/packages/core/src/sass/app/_common/components/settings-language.scss b/packages/core/src/sass/app/_common/components/settings-language.scss index 7abd4427c784..ebd6c519b3b2 100644 --- a/packages/core/src/sass/app/_common/components/settings-language.scss +++ b/packages/core/src/sass/app/_common/components/settings-language.scss @@ -9,11 +9,18 @@ display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); grid-gap: 1.6rem; - + &--has-padding { + padding: 1.6rem; + } @include mobile { grid-template-columns: repeat(2, minmax(50%, 1fr)); grid-gap: 0.3rem; grid-template-rows: auto; + width: 100%; + &--has-padding { + padding: 0 1.6rem; + grid-gap: 0; + } @include mobile { &--disabled { From 15d413adad10fe17f6e0c4ecf73c58167bc62dbb Mon Sep 17 00:00:00 2001 From: Thisyahlen Nair Date: Wed, 28 Jun 2023 13:49:13 +0800 Subject: [PATCH 2/3] redeploy: circleci From a17f130b505f7b8c7646a51ccd223ebf11da51dd Mon Sep 17 00:00:00 2001 From: Thisyahlen Nair Date: Wed, 28 Jun 2023 15:43:08 +0800 Subject: [PATCH 3/3] redeploy: vercel