aboutsummaryrefslogtreecommitdiff
path: root/web/style/layout.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-12 22:51:57 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-12 22:51:57 +0200
commit5e1bdb3d0e965f2d039ba17b3767e2a111b415f9 (patch)
tree5883456c4a483c56d8b870a54361225452c1d9df /web/style/layout.css
parent1b4c7b8d4b6afa74d306a37dea88f86591dec7e7 (diff)
downloadjellything-5e1bdb3d0e965f2d039ba17b3767e2a111b415f9.tar
jellything-5e1bdb3d0e965f2d039ba17b3767e2a111b415f9.tar.bz2
jellything-5e1bdb3d0e965f2d039ba17b3767e2a111b415f9.tar.zst
fixup! fix thumb aspect ratio
Diffstat (limited to 'web/style/layout.css')
-rw-r--r--web/style/layout.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/style/layout.css b/web/style/layout.css
index 14ddd97..7cc0e6f 100644
--- a/web/style/layout.css
+++ b/web/style/layout.css
@@ -20,7 +20,7 @@
:root {
--card-size: min(50vw, 17em);
--bar-height: 5em;
- --port-poster-aspect: 1.41;
+ --port-poster-aspect: calc(1 / 1.41);
--land-poster-aspect: calc(2 / 1.41);
--land-thumb-aspect: calc(16 / 9);
--backdrop-height: 24em;