Fix chakra adding extra padding on container.

This commit is contained in:
Desmond Grealy
2022-12-30 08:36:58 -08:00
parent 53673d2aa3
commit a98d4f3438
2 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -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."
/>
</Head>
{session ? (
{false ? (
<Container>
<TaskSelection />
</Container>
) : (
<Container className="min-w-full">
<Container className="min-w-full" variant="no-padding">
<Hero />
<CallToAction />
<Faq />
@@ -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,
})