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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user