From d84aeee968ed197ee3ff3dd852b397cf18b70f03 Mon Sep 17 00:00:00 2001 From: Karanrajsinh Date: Sat, 30 Nov 2024 19:32:04 +0530 Subject: [PATCH] fix(builderpage): resolve section-dialog height overflow for mobile and adjust sidebar font and spacing styles --- .../src/pages/builder/sidebars/left/index.tsx | 2 +- .../builder/sidebars/left/sections/basics.tsx | 4 +- .../left/sections/shared/section-base.tsx | 8 ++- .../left/sections/shared/section-dialog.tsx | 58 ++++++++++--------- .../left/sections/shared/section-options.tsx | 2 +- .../sidebars/left/sections/summary.tsx | 2 +- .../sidebars/right/sections/export.tsx | 2 +- .../sidebars/right/sections/information.tsx | 2 +- .../sidebars/right/sections/layout.tsx | 4 +- .../builder/sidebars/right/sections/notes.tsx | 2 +- .../builder/sidebars/right/sections/page.tsx | 4 +- .../sidebars/right/sections/sharing.tsx | 2 +- .../sidebars/right/sections/statistics.tsx | 2 +- .../sidebars/right/sections/template.tsx | 4 +- .../builder/sidebars/right/sections/theme.tsx | 4 +- .../sidebars/right/sections/typography.tsx | 8 +-- 16 files changed, 60 insertions(+), 50 deletions(-) diff --git a/apps/client/src/pages/builder/sidebars/left/index.tsx b/apps/client/src/pages/builder/sidebars/left/index.tsx index bdfe5b3be0..f4d034743c 100644 --- a/apps/client/src/pages/builder/sidebars/left/index.tsx +++ b/apps/client/src/pages/builder/sidebars/left/index.tsx @@ -161,7 +161,7 @@ export const LeftSidebar = () => { -
+
diff --git a/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx b/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx index 20a2e09908..fc45f8e509 100644 --- a/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx +++ b/apps/client/src/pages/builder/sidebars/left/sections/basics.tsx @@ -18,7 +18,7 @@ export const BasicsSection = () => {
{getSectionIcon("basics")} -

{t`Basics`}

+

{t`Basics`}

@@ -27,7 +27,7 @@ export const BasicsSection = () => {
-
+
({ id, title, description }: P
{getSectionIcon(id)} -

{section.name}

+

{section.name}

@@ -158,7 +158,11 @@ export const SectionBase = ({ id, title, description }: P {section.items.length > 0 && (