Skip to content

Commit

Permalink
autofix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
progzone122 committed Aug 19, 2023
1 parent d06c433 commit 5d8f99b
Showing 1 changed file with 51 additions and 46 deletions.
97 changes: 51 additions & 46 deletions src/components/NavbarComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,53 +26,58 @@ const NavbarComponent: React.FC = () => (
bg="#edf3f8"
_dark={{ bg: '#1A202C' }}
>
<div data-tauri-drag-region className="titlebar" />
<Spacer />
<Flex w={"full"} justifyContent="center" alignItems="center" marginLeft={{
base: "-3em",
md: "12em",
}}>
<StepButtons />
</Flex>
<div data-tauri-drag-region="" className="titlebar" />
<Spacer />
<Flex
w="full"
justifyContent="center"
alignItems="center"
marginLeft={{
base: '-3em',
md: '12em',
}}
>
<StepButtons />
</Flex>

<Flex
justify="flex-end"
h={16}
mr={5}
alignItems="center"
justifyContent="space-between"
>
<Stack direction="row" spacing={2}>
<ThemeComponent />
<AppSettings />
<ButtonGroup>
<IconButton
aria-label="Minimize"
onClick={() => {
appWindow.minimize();
}}
size="sm"
icon={<MdOutlineMinimize />}
/>
<IconButton
aria-label="Window"
onClick={() => {
appWindow.toggleMaximize();
}}
size="sm"
icon={<BiWindow />}
/>
<IconButton
aria-label="Close"
onClick={async () => {
invoke('hide_window');
}}
size="sm"
icon={<CloseIcon />}
/>
</ButtonGroup>
</Stack>
</Flex>
<Flex
justify="flex-end"
h={16}
mr={5}
alignItems="center"
justifyContent="space-between"
>
<Stack direction="row" spacing={2}>
<ThemeComponent />
<AppSettings />
<ButtonGroup>
<IconButton
aria-label="Minimize"
onClick={() => {
appWindow.minimize();
}}
size="sm"
icon={<MdOutlineMinimize />}
/>
<IconButton
aria-label="Window"
onClick={() => {
appWindow.toggleMaximize();
}}
size="sm"
icon={<BiWindow />}
/>
<IconButton
aria-label="Close"
onClick={async () => {
invoke('hide_window');
}}
size="sm"
icon={<CloseIcon />}
/>
</ButtonGroup>
</Stack>
</Flex>
</Flex>
);
export default NavbarComponent;

0 comments on commit 5d8f99b

Please sign in to comment.