Skip to content

Commit

Permalink
feat(core): add a min width to body (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed May 7, 2024
1 parent 62233e1 commit 1c7f52f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quiet-carrots-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Set a min width to body.
2 changes: 1 addition & 1 deletion core/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function RootLayout({ children, params: { locale } }: RootLayoutP

return (
<html className={`${inter.variable} font-sans`} lang={locale}>
<body className="flex h-screen flex-col">
<body className="flex h-screen min-w-[375px] flex-col">
<Notifications />
<NextIntlClientProvider locale={locale} messages={{ Providers: messages.Providers ?? {} }}>
<Providers>{children}</Providers>
Expand Down

0 comments on commit 1c7f52f

Please sign in to comment.