mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-16 08:24:16 +02:00
Style fixes
This commit is contained in:
@@ -22,6 +22,7 @@ export const SettingsHeader = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<Flex>
|
||||||
<PageHeader>
|
<PageHeader>
|
||||||
<LibraryHeaderBar>
|
<LibraryHeaderBar>
|
||||||
<Flex
|
<Flex
|
||||||
@@ -44,5 +45,6 @@ export const SettingsHeader = () => {
|
|||||||
</Flex>
|
</Flex>
|
||||||
</LibraryHeaderBar>
|
</LibraryHeaderBar>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
|
</Flex>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import isElectron from 'is-electron';
|
||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import { AppRoute } from '/@/renderer/router/routes';
|
import { AppRoute } from '/@/renderer/router/routes';
|
||||||
import { useSidebarRightExpanded, useGeneralSettings, useWindowSettings } from '/@/renderer/store';
|
import { useSidebarRightExpanded, useGeneralSettings, useWindowSettings } from '/@/renderer/store';
|
||||||
@@ -11,6 +12,7 @@ export const useShouldPadTitlebar = () => {
|
|||||||
const { windowBarStyle } = useWindowSettings();
|
const { windowBarStyle } = useWindowSettings();
|
||||||
|
|
||||||
const conditions = [
|
const conditions = [
|
||||||
|
isElectron(),
|
||||||
windowBarStyle === Platform.WEB,
|
windowBarStyle === Platform.WEB,
|
||||||
!(isSidebarExpanded && sideQueueType === 'sideQueue' && !isQueuePage),
|
!(isSidebarExpanded && sideQueueType === 'sideQueue' && !isQueuePage),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user