From fdf5c7a90ddfb54cf7567a269beb233473d46af1 Mon Sep 17 00:00:00 2001 From: DIKER0K Date: Mon, 14 Jul 2025 00:12:14 +0500 Subject: [PATCH] fix: styles TopBar --- src/renderer/components/TopBar.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/TopBar.tsx b/src/renderer/components/TopBar.tsx index bc912a6..096bb82 100644 --- a/src/renderer/components/TopBar.tsx +++ b/src/renderer/components/TopBar.tsx @@ -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', }} > {/* Кнопка регистрации, если на странице логина */}