diff --git a/src/renderer/features/settings/components/settings-header.tsx b/src/renderer/features/settings/components/settings-header.tsx index 1ca47b39..35347ffa 100644 --- a/src/renderer/features/settings/components/settings-header.tsx +++ b/src/renderer/features/settings/components/settings-header.tsx @@ -22,27 +22,29 @@ export const SettingsHeader = () => { }; return ( - - - - - - Settings - v{packageJson.version} - - - - - + + + Settings + v{packageJson.version} + + + + + + ); }; diff --git a/src/renderer/hooks/use-should-pad-titlebar.tsx b/src/renderer/hooks/use-should-pad-titlebar.tsx index 97407c34..b83424cd 100644 --- a/src/renderer/hooks/use-should-pad-titlebar.tsx +++ b/src/renderer/hooks/use-should-pad-titlebar.tsx @@ -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), ];