Profile: fix too small banner image on iPhone
All checks were successful
/ depoly (push) Successful in 1m19s

This commit is contained in:
thislight 2024-11-18 22:24:46 +08:00
parent e8c3271af1
commit c363753884
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -12,16 +12,12 @@
.banner { .banner {
width: 100%; width: 100%;
margin-top: calc(-1 * (var(--scaffold-topbar-height) + var(--safe-area-inset-top))); margin-top: calc(-1 * var(--scaffold-topbar-height));
>img { >img {
object-fit: cover; object-fit: cover;
width: 100%; width: 100%;
height: 100%; height: 100%;
&::before {
visibility: hidden;
}
} }
} }