Use icon width variable in SSB icons

The font size and the line-height were chosen according to the width of
the icon; we're now making it clear.
This commit is contained in:
Javi Martín
2021-02-14 14:42:40 +01:00
parent 60c3fd2fff
commit 741f2fc141

View File

@@ -1566,9 +1566,9 @@ table {
&::before {
font-family: "icons";
font-size: rem-calc(24);
font-size: $icon-width / 2;
left: 50%;
line-height: $line-height * 2;
line-height: $icon-width;
margin-left: rem-calc(-11);
position: absolute;
top: 0;