From 1d887a7a10c3d7f261eb6d99535740fcf6d46c0c Mon Sep 17 00:00:00 2001 From: dekun Date: Thu, 11 Jun 2026 00:46:39 +0800 Subject: [PATCH] Add responsive content width for ultrawide while keeping 1080p layout. Scale from 896px on 1080p up to 1440px on 3440px screens via viewport breakpoints in site-width. Co-authored-by: Cursor --- components/footer.tsx | 5 ++++- components/header.tsx | 7 ++----- components/layout/site-width.ts | 18 ++++++++++++++++++ components/page-shell.tsx | 8 ++++---- tailwind.config.ts | 17 ++++++++++++++++- 5 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 components/layout/site-width.ts diff --git a/components/footer.tsx b/components/footer.tsx index 2c44891..17fc603 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,10 +1,13 @@ import React from "react"; import { VERSION } from "@/lib/constant"; +import { SITE_WIDTH_INNER } from "@/components/layout/site-width"; function Footer() { return (