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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix inconsistent line heights with inline links and content links
  • Loading branch information
CarlosFdez committed Jun 15, 2024
commit 16d0ce7eae20d81472bfbc37ddcf8f66afdffaf4
10 changes: 6 additions & 4 deletions src/styles/_globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ table.pf2-table {
border: 1px solid var(--color-border-dark-tertiary);
box-sizing: border-box;
color: var(--color-text-dark-primary);
line-height: 1.6em;
padding: var(--space-1) var(--space-4);
padding: 0 var(--space-4);
white-space: nowrap;
word-break: break-all;

Expand All @@ -154,9 +153,12 @@ table.pf2-table {
}
}

a.content-link {
line-height: 1.6em;
a.content-link,
a.inline-roll {
padding: 0 var(--space-4);
}

a.content-link {
// Automatically italicize spell content links
&:has(i.fa-sparkles) {
font-style: italic;
Expand Down
Loading