Closed adamgiebl closed 11 months ago
Hi @adamgiebl , for this component to render properly, it seems it needs both:
* {
box-sizing: border-box;
}
(which you set on your site, we don't)
And also a root font-size of 16px (as it mixes px & em positioning) <- this one's ok as it's the default.
If you add the box-sizing to your CSS, the positioning is OK (notice the tile gradient is not though, but that's another issue we already talked about):
Oh I see, did you ever think about setting certain defaults for a more consistent behavior? I believe there are differences between different browsers as well, that's why a lot of websites choose to include CSS resets.
That being said, I think there are pros and cons with both ways.
Didn't really think about it, because it sounds pretty trivial for a user to inject the reset CSS if they want one (whereas it'd be pretty difficult to undo a reset).
Describe the bug
To Reproduce