Skip to content

fix(import): preserve responsive spacing and widths - #520

Draft
tommy230 wants to merge 2 commits into
CoreBunch:mainfrom
tommy230:fix/preserve-css-math-spacing
Draft

fix(import): preserve responsive spacing and widths#520
tommy230 wants to merge 2 commits into
CoreBunch:mainfrom
tommy230:fix/preserve-css-math-spacing

Conversation

@tommy230

@tommy230 tommy230 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Headless imports silently dropped min() and max() declarations, leaving Straight Up Doors' content flush against the left edge and widening its header. Current main also drops clamp() declarations used for fluid spacing and typography.

Preserve all three functions through the existing CSS declaration encoder and decoder. Regression coverage uses the affected centered-padding expression and verifies that the mobile override survives.

Validation: 483 HTML/site import tests, production build, and lint pass on current main. The installed migration checkout also passes 581 import tests and its production build. Its full test run was stopped after repeated unrelated AI-test hook timeouts. Browser checks of the repaired styles match WordPress desktop text and logo positions on Tiffin, Solon, and Garage Door Repair.

The Straight Up Doors review copy was republished through its CMS. All 30 affected pages pass text-inset checks at 2530px and 390px, for 60 browser checks. Desktop Tiffin text and logo positions match WordPress exactly. A separate mobile-menu overflow remains and is recorded in the local repair report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant