From 26ccecb3611903663979d9cdec91002487d018c3 Mon Sep 17 00:00:00 2001 From: dekun Date: Thu, 11 Jun 2026 00:38:00 +0800 Subject: [PATCH] Fix ultrawide layout: Tailwind was not generating max-width classes. Move width utilities into scanned components as literal class names, add lib to Tailwind content and safelist. Verified max-w-4xl in build CSS and /learn HTML. Co-authored-by: Cursor --- components/footer.tsx | 13 ++++++------- components/header.tsx | 7 +++++-- components/page-shell.tsx | 15 ++++++++++----- lib/layout.ts | 24 ++---------------------- tailwind.config.ts | 7 ++++++- 5 files changed, 29 insertions(+), 37 deletions(-) diff --git a/components/footer.tsx b/components/footer.tsx index 9b79204..2c44891 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,15 +1,14 @@ import React from "react"; import { VERSION } from "@/lib/constant"; -import { APP_CONTAINER } from "@/lib/layout"; function Footer() { return ( -