Style fixes

This commit is contained in:
jeffvli 2023-03-31 06:22:04 -07:00
parent cf4f80c82b
commit 0d9224bc09
2 changed files with 25 additions and 21 deletions

View file

@ -22,6 +22,7 @@ export const SettingsHeader = () => {
};
return (
<Flex>
<PageHeader>
<LibraryHeaderBar>
<Flex
@ -44,5 +45,6 @@ export const SettingsHeader = () => {
</Flex>
</LibraryHeaderBar>
</PageHeader>
</Flex>
);
};

View file

@ -1,3 +1,4 @@
import isElectron from 'is-electron';
import { useLocation } from 'react-router';
import { AppRoute } from '/@/renderer/router/routes';
import { useSidebarRightExpanded, useGeneralSettings, useWindowSettings } from '/@/renderer/store';
@ -11,6 +12,7 @@ export const useShouldPadTitlebar = () => {
const { windowBarStyle } = useWindowSettings();
const conditions = [
isElectron(),
windowBarStyle === Platform.WEB,
!(isSidebarExpanded && sideQueueType === 'sideQueue' && !isQueuePage),
];