From 14eb677a610e8676edc1e6bee610866f98f55f86 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Tue, 14 Mar 2023 22:20:51 +0800 Subject: [PATCH] style(ui): fix secondary page spacing (#3406) --- packages/ui/src/Layout/AppLayout/index.module.scss | 2 +- packages/ui/src/Layout/LandingPageLayout/index.module.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/Layout/AppLayout/index.module.scss b/packages/ui/src/Layout/AppLayout/index.module.scss index dfa2b0189..c0ec9549e 100644 --- a/packages/ui/src/Layout/AppLayout/index.module.scss +++ b/packages/ui/src/Layout/AppLayout/index.module.scss @@ -54,7 +54,7 @@ width: 640px; min-height: 640px; position: relative; - padding: _.unit(12) _.unit(6); + padding: _.unit(6); border-radius: 16px; background: var(--color-bg-float); box-shadow: var(--color-shadow-2); diff --git a/packages/ui/src/Layout/LandingPageLayout/index.module.scss b/packages/ui/src/Layout/LandingPageLayout/index.module.scss index e992ed171..a11c10a54 100644 --- a/packages/ui/src/Layout/LandingPageLayout/index.module.scss +++ b/packages/ui/src/Layout/LandingPageLayout/index.module.scss @@ -18,6 +18,10 @@ } :global(body.desktop) { + .wrapper { + padding: _.unit(6) 0; + } + .header { margin-bottom: _.unit(6); }