From d5781bab1a55eeff62ab6eafb2a83a9a80417c8d Mon Sep 17 00:00:00 2001 From: lifeparticle Date: Thu, 28 Sep 2023 23:30:38 +1000 Subject: [PATCH] refactor --- .../Hoc/withPageTitle/withPageTitle.module.scss | 5 ++++- ui/src/components/Hoc/withPageTitle/withPageTitle.tsx | 9 ++++++--- .../FloatingSearchBar/FloatingSearchBar.module.scss | 2 +- ui/src/pages/Text/TextEditor/test.css | 0 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 ui/src/pages/Text/TextEditor/test.css diff --git a/ui/src/components/Hoc/withPageTitle/withPageTitle.module.scss b/ui/src/components/Hoc/withPageTitle/withPageTitle.module.scss index bcd745ff..e0b659fd 100644 --- a/ui/src/components/Hoc/withPageTitle/withPageTitle.module.scss +++ b/ui/src/components/Hoc/withPageTitle/withPageTitle.module.scss @@ -1,3 +1,6 @@ .withpagetitle { - padding: var(--bt-size-10) var(--bt-size-10) 0 var(--bt-size-10); + padding: 0 var(--bt-size-10) 0 var(--bt-size-10); + &__header_title { + height: 64px; + } } diff --git a/ui/src/components/Hoc/withPageTitle/withPageTitle.tsx b/ui/src/components/Hoc/withPageTitle/withPageTitle.tsx index f9b68a49..91c759d2 100644 --- a/ui/src/components/Hoc/withPageTitle/withPageTitle.tsx +++ b/ui/src/components/Hoc/withPageTitle/withPageTitle.tsx @@ -43,14 +43,17 @@ const withPageTitle = ( {!NO_TITLE.includes(title) && ( - <> - +
+ {helpText && }
- +
)} diff --git a/ui/src/components/Layouts/FloatingSearchBar/FloatingSearchBar.module.scss b/ui/src/components/Layouts/FloatingSearchBar/FloatingSearchBar.module.scss index 63a7a130..96131fcc 100644 --- a/ui/src/components/Layouts/FloatingSearchBar/FloatingSearchBar.module.scss +++ b/ui/src/components/Layouts/FloatingSearchBar/FloatingSearchBar.module.scss @@ -10,7 +10,7 @@ justify-content: center; } -@media screen and (max-width: 550px) { +@media screen and (max-width: 900px) { .fsb { display: none; } diff --git a/ui/src/pages/Text/TextEditor/test.css b/ui/src/pages/Text/TextEditor/test.css new file mode 100644 index 00000000..e69de29b