From 741f2fc1410766da5b43317f0b1e6d339880da96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 14 Feb 2021 14:42:40 +0100 Subject: [PATCH] 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. --- app/assets/stylesheets/layout.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index a84677d07..45631681d 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -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;