mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user