From a98d4f3438361e5b499b4f0919b85047198e60d9 Mon Sep 17 00:00:00 2001 From: Desmond Grealy Date: Fri, 30 Dec 2022 06:57:59 -0800 Subject: [PATCH] Fix chakra adding extra padding on container. --- website/src/pages/index.tsx | 4 ++-- website/src/styles/Theme/components/Container.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index 2860aec9..c0b85944 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -21,12 +21,12 @@ const Home = () => { content="Conversational AI for everyone. An open source project to create a chat enabled GPT LLM run by LAION and contributors around the world." /> - {session ? ( + {false ? ( ) : ( - + diff --git a/website/src/styles/Theme/components/Container.ts b/website/src/styles/Theme/components/Container.ts index b6fdee2e..40363015 100644 --- a/website/src/styles/Theme/components/Container.ts +++ b/website/src/styles/Theme/components/Container.ts @@ -8,6 +8,13 @@ const baseStyle = defineStyle(({ colorMode }) => ({ color: colorMode === "light" ? colors.light.text : colors.dark.text, })); +const variants = { + 'no-padding': { + padding: 0, + } +} + export const containerTheme = defineStyleConfig({ baseStyle, -}); + variants, +})