picocss / pico

Minimal CSS Framework for semantic HTML
https://picocss.com
MIT License
13.82k stars 406 forks source link

fix: <small> does not have the correct size #561

Open gustav-langer opened 5 months ago

gustav-langer commented 5 months ago

On the element, the --pico-font-size variable is set. But the actual font-size attribute is left unchanged, so the value set by the user-agent is used instead. This is smaller, which is slightly smaller than the 0.875em set in the variable.

This can be fixed by simply resetting font-size: var(--pico-font-size).

gustav-langer commented 5 months ago

I have updated the scss file, but I can't figure out how to run yarn on my system, so the css files haven't been correctly updated yet.