fix(ServerProfile): crop banner to prevent overflow (#2250)

main
Haruka 6 months ago committed by GitHub
parent 34390e0365
commit 1fbc4f7ce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,8 +4,13 @@
} }
.vc-gp-banner { .vc-gp-banner {
width: 100%;
cursor: pointer; cursor: pointer;
aspect-ratio: auto 240 / 135;
height: 334px;
width: 100%;
object-fit: cover;
overflow: clip;
overflow-clip-margin: content-box;
} }
.vc-gp-header { .vc-gp-header {

Loading…
Cancel
Save