Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

gustav-langer
Copy link

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
Copy link
Author

gustav-langer commented Jun 9, 2024

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.

@gustav-langer gustav-langer changed the title Fixed <small> not having the correct size fix: <small> does not have the correct size Jun 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant