mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +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
|
<div
|
||||||
className="w-full mx-auto px-4 sm:px-6"
|
className="w-full mx-auto px-4 sm:px-6"
|
||||||
style={{
|
style={{
|
||||||
// In fullscreen mode, add right padding for Telegram native controls (close/menu buttons)
|
// In fullscreen mode, add left padding for Telegram native controls (close/menu buttons)
|
||||||
paddingRight: isFullscreen ? '100px' : undefined,
|
paddingLeft: isFullscreen ? '100px' : undefined,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="flex justify-between items-center h-16 lg:h-20">
|
<div className="flex justify-between items-center h-16 lg:h-20">
|
||||||
|
|||||||
Reference in New Issue
Block a user