Skip to content

Conversation

@KaelWD
Copy link
Member

@KaelWD KaelWD commented Feb 5, 2025

90% of this is for ancient browsers and the rest can be done in component styles instead of affecting the entire page.

closes #17633

@KaelWD KaelWD added this to the v4.0.0 (Revisionist) milestone Feb 5, 2025
@KaelWD KaelWD self-assigned this Feb 5, 2025
@KaelWD KaelWD force-pushed the feat/minimal-reset branch from 7bce4e9 to c18c3ef Compare February 6, 2025 06:09
@KaelWD
Copy link
Member Author

KaelWD commented Feb 12, 2025

It looks like the only component this actually affected was VField, everything else still looks identical.
Should we keep some sensible defaults for headings and lists? Reset to 0 is kinda awful but the browser defaults have huge margins.

@MajesticPotatoe MajesticPotatoe added the T: feature A new feature label Feb 14, 2025

* {
padding: 0; /* Reset `padding` and `margin` of all elements */
margin: 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one maybe risky. I just toggled it off on my website and some things moved (<body> and <hr> were the most obvious). Tested on Brave.

image

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VDivider.sass needs margin-block: 0, while the body might need to replace * here.. at least to get rid of the margin.

@KaelWD
Copy link
Member Author

KaelWD commented Dec 10, 2025

I think typography can be separate, maybe bring back the pre-0.17 styles as an optional import after #22396?

@KaelWD KaelWD marked this pull request as ready for review December 10, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T: feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants