From bed8eea4163bb5e1ee58fec810dccadc2f3dff17 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 1 Dec 2023 21:12:37 +0100 Subject: use pixel value in banner max-width Let's stick to one unit. `em` is font-size dependent, so let's just do it the simple way and count pixels. --- static/sass/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/sass') diff --git a/static/sass/main.scss b/static/sass/main.scss index 346c0f0..e8c2407 100644 --- a/static/sass/main.scss +++ b/static/sass/main.scss @@ -262,7 +262,7 @@ img.social-icon { display: none; } #sideBanner { - max-width: calc($breakpoint - 48em - 8px); + max-width: calc($breakpoint - 708px); position: fixed; padding-top: $spacing; padding-left: $spacing; -- cgit v1.2.3