diff --git a/src/renderer/features/now-playing/components/sidebar-play-queue.tsx b/src/renderer/features/now-playing/components/sidebar-play-queue.tsx index ca86c703..b4dcca49 100644 --- a/src/renderer/features/now-playing/components/sidebar-play-queue.tsx +++ b/src/renderer/features/now-playing/components/sidebar-play-queue.tsx @@ -4,12 +4,10 @@ import { useRef } from 'react'; import { PlayQueueListControls } from './play-queue-list-controls'; -import { PageHeader } from '/@/renderer/components/page-header/page-header'; import { VirtualGridContainer } from '/@/renderer/components/virtual-grid'; import { PlayQueue } from '/@/renderer/features/now-playing/components/play-queue'; import { useWindowSettings } from '/@/renderer/store/settings.store'; import { Box } from '/@/shared/components/box/box'; -import { Stack } from '/@/shared/components/stack/stack'; import { Song } from '/@/shared/types/domain-types'; import { Platform } from '/@/shared/types/types'; @@ -20,14 +18,9 @@ export const SidebarPlayQueue = () => { const isWeb = windowBarStyle === Platform.WEB; return ( - {isWeb && ( - - - - )} browser?.exit(); const minimize = () => browser?.minimize(); @@ -19,7 +15,7 @@ const maximize = () => browser?.maximize(); const unmaximize = () => browser?.unmaximize(); -export const WindowControls = ({ style }: WindowControlsProps) => { +export const WindowControls = () => { const [max, setMax] = useState(false); const handleMinimize = () => minimize(); @@ -39,29 +35,29 @@ export const WindowControls = ({ style }: WindowControlsProps) => { <> {isElectron() && ( <> - {style === 'windows' && ( -
-
- -
-
- -
-
- -
+
+
+
- )} +
+ +
+
+ +
+
)} diff --git a/src/shared/styles/global.css b/src/shared/styles/global.css index 73229912..8b11a4f0 100644 --- a/src/shared/styles/global.css +++ b/src/shared/styles/global.css @@ -321,6 +321,7 @@ button { } .ag-header { + width: auto; border-bottom: 2px solid var(--theme-colors-border); }