diff --git a/components/ui/container.tsx b/components/ui/container.tsx
index dfbba0a1e..b49e2745b 100644
--- a/components/ui/container.tsx
+++ b/components/ui/container.tsx
@@ -3,10 +3,10 @@ import React from "react"
import { tv } from "tailwind-variants"
const containerStyles = tv({
- base: "mx-auto w-full max-w-7xl",
+ base: "mx-auto w-full max-w-7xl lg:max-w-screen-xl 2xl:max-w-screen-2xl",
variants: {
intent: {
- constrained: "container sm:px-6 lg:px-8",
+ constrained: "sm:px-6 lg:px-8",
"padded-content": "px-4 sm:px-6 lg:px-8"
}
},
diff --git a/components/ui/navbar.tsx b/components/ui/navbar.tsx
index 569ab6d4f..82827ae76 100644
--- a/components/ui/navbar.tsx
+++ b/components/ui/navbar.tsx
@@ -115,11 +115,12 @@ const navStyles = tv({
true: "sticky z-40 top-0"
},
intent: {
- floating: "bg-tertiary max-w-[1680px] mx-auto shadow-sm border rounded-xl sm:px-4",
+ floating:
+ "bg-tertiary w-full max-w-7xl 2xl:max-w-screen-2xl mx-auto shadow-sm border rounded-xl sm:px-4",
navbar: "bg-tertiary shadow-sm border-b sm:px-6",
inset: [
"bg-secondary mx-auto dark:bg-bg sm:px-6",
- "[&>div]:max-w-[1680px] lg:[&>div]:flex [&>div]:items-center [&>div]:w-full [&>div]:mx-auto"
+ "2xl:[&>div]:max-w-screen-2xl lg:[&>div]:flex [&>div]:items-center [&>div]:w-full [&>div]:mx-auto"
]
}
}