aboutsummaryrefslogtreecommitdiff
path: root/frontend/scss/general.scss
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-03 21:32:51 +0200
committerWilliam Hergès <william@herges.fr>2025-10-03 21:32:51 +0200
commit948cc46a63fe472608aa86d098bbf296bb0f0d98 (patch)
treed85f173602ffa06135b420c44331b50a892081d4 /frontend/scss/general.scss
parent5f3172fc89ef4fbba6b0678c6891c626ee5c8483 (diff)
feat(frontend): bigger width deco
Diffstat (limited to 'frontend/scss/general.scss')
-rw-r--r--frontend/scss/general.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/scss/general.scss b/frontend/scss/general.scss
index bc15cf5..cb0f89c 100644
--- a/frontend/scss/general.scss
+++ b/frontend/scss/general.scss
@@ -122,9 +122,9 @@ figure {
&.large {
--max-width: var(--width-deco);
--width: min(calc(100vw - 4rem), var(--max-width));
- margin-left: max(-15%, calc((100% - var(--width))/2));
- width: var(--max-width);
- max-width: var(--width);
+ margin-left: max(calc((100% - var(--max-width))/2), calc((100% - var(--width))/2));
+ width: var(--width);
+ max-width: var(--max-width);
max-height: none;
}
}