From 1e09a7500bb9723b76a7a589559380be8d266cfb Mon Sep 17 00:00:00 2001 From: leutinatasya Date: Fri, 6 Oct 2023 12:30:24 +0300 Subject: [PATCH] fix(Settings): not-found state styles for mobile --- src/components/Settings/Settings.scss | 7 ++++++ src/components/Settings/Settings.tsx | 2 +- .../__stories__/SettingsMobileDemo.scss | 6 +++++ .../__stories__/SettingsMobileDemo.tsx | 23 +++++++++++-------- 4 files changed, 28 insertions(+), 10 deletions(-) diff --git a/src/components/Settings/Settings.scss b/src/components/Settings/Settings.scss index ed830a3b..5e434b79 100644 --- a/src/components/Settings/Settings.scss +++ b/src/components/Settings/Settings.scss @@ -103,6 +103,13 @@ $block: '.#{variables.$ns}settings'; width: 100%; } } + + #{$block}__not-found { + @include text-body-2; + justify-items: start; + color: var(--g-color-text-hint); + margin: 20px 0 0 20px; + } } &_loading { diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 7cf4dea9..90487f87 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -234,7 +234,7 @@ function SettingsContent({ initialValue={initialSearch} onChange={setSearch} autoFocus={false} - inputSize={'l'} + inputSize={'xl'} /> These settings affect the appearance } + header={ +
+ These settings affect the appearance +
+ } showTitle={false} >