Let the content-page article column fill the 1440+ template gutters so it does not stay capped at 904px on wider viewports.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-19 15:27:16 -06:00
co-authored by Cursor
parent f35889f966
commit 1a014f30f0
4 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -286,10 +286,12 @@ describe("BlogPostPage", () => {
const contentDiv = screen
.getByText(/This is the article content/)
.closest("div.post-body");
const article = contentDiv?.closest("article");
expect(contentDiv).toHaveClass("sm:max-w-[390px]");
expect(contentDiv).toHaveClass("md:max-w-[472px]");
expect(contentDiv).toHaveClass("lg:max-w-[700px]");
expect(contentDiv).toHaveClass("xl:max-w-[904px]");
expect(contentDiv).toHaveClass("xl:max-w-none");
expect(article).toHaveClass("xl:px-[calc(268/1440*100%)]");
});
it("includes structured data scripts", async () => {