Fix Layout component: change padding from right to left for Telegram native controls in fullscreen mode to improve layout consistency.

This commit is contained in:
PEDZEO
2026-01-20 01:32:56 +03:00
parent 3a98fdff7d
commit 05e969a3aa

View File

@@ -310,8 +310,8 @@ export default function Layout({ children }: LayoutProps) {
<div
className="w-full mx-auto px-4 sm:px-6"
style={{
// In fullscreen mode, add right padding for Telegram native controls (close/menu buttons)
paddingRight: isFullscreen ? '100px' : undefined,
// In fullscreen mode, add left padding for Telegram native controls (close/menu buttons)
paddingLeft: isFullscreen ? '100px' : undefined,
}}
>
<div className="flex justify-between items-center h-16 lg:h-20">