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

This commit is contained in:
Haruka 2024-03-11 17:19:35 +02:00 committed by GitHub
parent 34390e0365
commit 1fbc4f7ce1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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