diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:12:37 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-12-01 21:12:37 +0100 |
commit | bed8eea4163bb5e1ee58fec810dccadc2f3dff17 (patch) | |
tree | bba636530a987e2687316512cac9f15b586b9bb7 /static | |
parent | a00e54cc66614bb650ed34ef664a54feae66d9ad (diff) | |
download | moeka-bed8eea4163bb5e1ee58fec810dccadc2f3dff17.tar.gz moeka-bed8eea4163bb5e1ee58fec810dccadc2f3dff17.tar.bz2 moeka-bed8eea4163bb5e1ee58fec810dccadc2f3dff17.zip |
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.
Diffstat (limited to 'static')
-rw-r--r-- | static/css/main.css | 2 | ||||
-rw-r--r-- | static/sass/main.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/static/css/main.css b/static/css/main.css index f9260ba..2188a9c 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -2321,7 +2321,7 @@ img.social-icon { display: none; } #sideBanner { - max-width: calc(1150px - 48em - 8px); + max-width: 442px; position: fixed; padding-top: 30px; padding-left: 30px; 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; |