From c7ef4e13a0e0ac83c39ccac49f6e1b90fd9949b6 Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Wed, 1 Mar 2023 01:10:57 -0500 Subject: [PATCH] [S] Auto calculate banner height based on width --- src/views/others/Friends.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/others/Friends.vue b/src/views/others/Friends.vue index 346c302..be12abe 100644 --- a/src/views/others/Friends.vue +++ b/src/views/others/Friends.vue @@ -91,7 +91,7 @@ $card-min-width: 320px position: relative min-width: $card-min-width - $top: 100px + $top: calc(100px + max(min(100vw, 600px), $card-min-width + 20px * 2) * 0.1 - $card-min-width * 0.1) $img: 80px .banner