CSS: Fix button icon centering

This commit is contained in:
Richard Hansen 2021-06-16 02:05:14 -04:00
parent 53cca5a743
commit 251cc7ab32
2 changed files with 3 additions and 9 deletions

View File

@ -24,6 +24,9 @@
font-style: normal;
font-variant: normal;
text-rendering: auto;
display: flex;
justify-content: center;
align-items: center;
}
.buttonicon:before, [class^="buttonicon-"]:before, [class*=" buttonicon-"]:before {
@ -34,9 +37,6 @@
font-size: 15px;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin: 0;
text-align: center;
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;

View File

@ -23,9 +23,3 @@ button, .btn
color: #485365;
color: var(--text-color);
}
.buttonicon:before, [class^="buttonicon-"]:before, [class*=" buttonicon-"]:before {
line-height: 18px;
}