From c363753884fad2af10d4f03734584be0e7d9a07d Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 18 Nov 2024 22:24:46 +0800 Subject: [PATCH] Profile: fix too small banner image on iPhone --- src/profiles/Profile.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/profiles/Profile.css b/src/profiles/Profile.css index 9b8e17a..fa506b7 100644 --- a/src/profiles/Profile.css +++ b/src/profiles/Profile.css @@ -12,16 +12,12 @@ .banner { width: 100%; - margin-top: calc(-1 * (var(--scaffold-topbar-height) + var(--safe-area-inset-top))); + margin-top: calc(-1 * var(--scaffold-topbar-height)); >img { object-fit: cover; width: 100%; height: 100%; - - &::before { - visibility: hidden; - } } }