fix(widgets): keep widget-content an unstyled structural layer #27

Merged
kate522 merged 1 commits from worktree/fix-widget-content-margin into main 2026-09-05 05:28:07 +00:00
Owner

Reference contract: widget cards carry their own 15px padding and
.widget-content is bare. The added 20px padding inset every widget
card from the content max width on the fixed homepage (the only
bundle loading sidebar.css).

  • drop the root padding rule and the unreferenced --flush modifier
  • drop the now-redundant user-widget padding:0 workaround
  • drop the dead --card-padding-lg token
  • lock the contract with negative assertions in the display test
Reference contract: widget cards carry their own 15px padding and .widget-content is bare. The added 20px padding inset every widget card from the content max width on the fixed homepage (the only bundle loading sidebar.css). - drop the root padding rule and the unreferenced --flush modifier - drop the now-redundant user-widget padding:0 workaround - drop the dead --card-padding-lg token - lock the contract with negative assertions in the display test
kate522 added 1 commit 2026-09-05 05:28:02 +00:00
Reference contract: widget cards carry their own 15px padding and
.widget-content is bare. The added 20px padding inset every widget
card from the content max width on the fixed homepage (the only
bundle loading sidebar.css).

- drop the root padding rule and the unreferenced --flush modifier
- drop the now-redundant user-widget padding:0 workaround
- drop the dead --card-padding-lg token
- lock the contract with negative assertions in the display test
kate522 merged commit cf264d5e81 into main 2026-09-05 05:28:07 +00:00
kate522 deleted branch worktree/fix-widget-content-margin 2026-09-05 05:28:07 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kate522/wordpress-theme-aksrt#27