[S] Auto calculate banner height based on width

This commit is contained in:
Azalea Gui
2023-03-01 01:10:57 -05:00
parent a6c918d164
commit c7ef4e13a0
+1 -1
View File
@@ -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