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
1 Commits
Author SHA1 Message Date
kate522 d7950730dd fix(widgets): keep widget-content an unstyled structural layer
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
2026-09-05 13:26:52 +08:00