fix: styles TopBar

This commit is contained in:
2025-07-14 00:12:14 +05:00
parent 387d1548ba
commit fdf5c7a90d

View File

@ -54,13 +54,15 @@ export default function TopBar({ onRegister }: TopBarProps) {
top: 0,
left: 0,
right: 0,
height: '5vh',
height: '7vh',
zIndex: 1000,
width: '100%',
WebkitAppRegion: 'drag',
overflow: 'hidden',
justifyContent: 'space-between',
alignItems: 'center',
// marginLeft: '1em',
// marginRight: '1em',
}}
>
{/* Левая часть */}
@ -69,8 +71,8 @@ export default function TopBar({ onRegister }: TopBarProps) {
display: 'flex',
WebkitAppRegion: 'no-drag',
gap: '2vw',
padding: '1em',
alignItems: 'center',
marginLeft: '1vw',
}}
>
{isLaunchPage && (
@ -114,9 +116,9 @@ export default function TopBar({ onRegister }: TopBarProps) {
sx={{
display: 'flex',
WebkitAppRegion: 'no-drag',
gap: '2vw',
padding: '1em',
gap: '1vw',
alignItems: 'center',
marginRight: '1vw',
}}
>
{/* Кнопка регистрации, если на странице логина */}