Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix inconsistent line heights with inline links and content links #15090

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

CarlosFdez
Copy link
Collaborator

@CarlosFdez CarlosFdez commented Jun 15, 2024

The line height property was actually something we added and removing it gets us closer to core's styling. The reduced padding is unnecessary and I can roll that back but it makes the text more readable I hope with that in play as well. The way premium modules actually fix this is by applying font-size: 0.9em instead, which we can try instead of adjusting padding if you want.

Before:
image

After:
image

Its more obvious what's going on if you check the second line on the before. The 4th line wasn't impacted because we never applied the line height to inline roll links.

@stwlam stwlam merged commit 85f2978 into foundryvtt:master Jun 15, 2024
1 check passed
@CarlosFdez CarlosFdez deleted the consistent-line-height branch June 15, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants