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