Skip to content

Commit

Permalink
css: Use equal height for an icinga icon's i and ::before
Browse files Browse the repository at this point in the history
fixes #209
  • Loading branch information
nilmerg committed Apr 9, 2024
1 parent 9ac6b63 commit a29ed20
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions asset/css/icons-base.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
i.icon {
vertical-align: middle; // Firefox will place icons weird otherwise
display: inline-block;

&:before {
display: inline-block;
font-style: normal;
line-height: 1;

&::before {
display: block;
min-width: 1em;
margin-right: .2em;

Expand Down

0 comments on commit a29ed20

Please sign in to comment.