aboutsummaryrefslogtreecommitdiff
path: root/web/style/nodecard.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-12 16:28:09 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-12 16:28:09 +0200
commit1b4c7b8d4b6afa74d306a37dea88f86591dec7e7 (patch)
tree1749e903e4327b43578e02c8112a4fa1f8f059c6 /web/style/nodecard.css
parenta4de074ca8085f21cab1f41e5ab4968dc4152d92 (diff)
downloadjellything-1b4c7b8d4b6afa74d306a37dea88f86591dec7e7.tar
jellything-1b4c7b8d4b6afa74d306a37dea88f86591dec7e7.tar.bz2
jellything-1b4c7b8d4b6afa74d306a37dea88f86591dec7e7.tar.zst
fix thumb aspect ratio
Diffstat (limited to 'web/style/nodecard.css')
-rw-r--r--web/style/nodecard.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/style/nodecard.css b/web/style/nodecard.css
index de99a33..918a87d 100644
--- a/web/style/nodecard.css
+++ b/web/style/nodecard.css
@@ -21,13 +21,13 @@
height: var(--card-size);
}
.card.aspect-port {
- width: calc(var(--card-size) / var(--port-poster-aspect));
+ width: calc(var(--card-size) * var(--port-poster-aspect));
}
.card.aspect-land {
- width: calc(var(--card-size) / var(--land-poster-aspect));
+ width: calc(var(--card-size) * var(--land-poster-aspect));
}
.card.aspect-thumb {
- width: calc(var(--card-size) / var(--land-thumb-aspect));
+ width: calc(var(--card-size) * var(--land-thumb-aspect));
}
.card.aspect-square {
width: calc(var(--card-size));