Skip to content

Commit

Permalink
Fix line height of applies-to
Browse files Browse the repository at this point in the history
For some reason, smaller-than-100% text causes at least Firefox to use a
greater-than-100% line height. This causes different visual spacing of
search paths that use `:applies-to:` as compared to those that don't.
Fix by forcing 100% line height on the smaller text.
  • Loading branch information
mwoehlke committed Mar 12, 2024
1 parent 3c9f46d commit 525bb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _static/cps.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ th { background-color: inherit; }
white-space: normal;
}

.applies-to { font-size: 70%; color: #777; }
.applies-to { font-size: 70%; color: #777; line-height: 1em; }

.path { color: #641; }
.glob { color: #b92; }
Expand Down

0 comments on commit 525bb72

Please sign in to comment.