fix: add Telegram header padding for Android fullscreen mode

This commit is contained in:
c0mrade
2026-02-01 21:09:16 +03:00
parent 6f8bc4fca5
commit 093c9f2893
2 changed files with 5 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ export function AppHeader({
className="glass fixed left-0 right-0 top-0 z-50 shadow-lg shadow-black/10 lg:hidden"
style={{
paddingTop: isFullscreen
? `${Math.max(safeAreaInset.top, contentSafeAreaInset.top) + (telegramPlatform === 'android' ? 0 : 45)}px`
? `${Math.max(safeAreaInset.top, contentSafeAreaInset.top) + (telegramPlatform === 'android' ? 56 : 45)}px`
: undefined,
}}
>