remove maxWidth from now playing route

This commit is contained in:
jeffvli
2025-12-03 17:48:46 -08:00
parent d511b58c8f
commit d604074d82
2 changed files with 9 additions and 12 deletions
@@ -7,7 +7,7 @@ export const NowPlayingHeader = () => {
return ( return (
<PageHeader> <PageHeader>
<LibraryHeaderBar> <LibraryHeaderBar ignoreMaxWidth>
<LibraryHeaderBar.Title>Queue</LibraryHeaderBar.Title> <LibraryHeaderBar.Title>Queue</LibraryHeaderBar.Title>
</LibraryHeaderBar> </LibraryHeaderBar>
</PageHeader> </PageHeader>
@@ -5,7 +5,6 @@ import { NowPlayingHeader } from '/@/renderer/features/now-playing/components/no
import { PlayQueue } from '/@/renderer/features/now-playing/components/play-queue'; import { PlayQueue } from '/@/renderer/features/now-playing/components/play-queue';
import { PlayQueueListControls } from '/@/renderer/features/now-playing/components/play-queue-list-controls'; import { PlayQueueListControls } from '/@/renderer/features/now-playing/components/play-queue-list-controls';
import { AnimatedPage } from '/@/renderer/features/shared/components/animated-page'; import { AnimatedPage } from '/@/renderer/features/shared/components/animated-page';
import { LibraryContainer } from '/@/renderer/features/shared/components/library-container';
import { PageErrorBoundary } from '/@/renderer/features/shared/components/page-error-boundary'; import { PageErrorBoundary } from '/@/renderer/features/shared/components/page-error-boundary';
import { useAppStoreActions } from '/@/renderer/store'; import { useAppStoreActions } from '/@/renderer/store';
import { ItemListKey } from '/@/shared/types/types'; import { ItemListKey } from '/@/shared/types/types';
@@ -27,16 +26,14 @@ const NowPlayingRoute = () => {
return ( return (
<AnimatedPage> <AnimatedPage>
<LibraryContainer> <NowPlayingHeader />
<NowPlayingHeader /> <PlayQueueListControls
<PlayQueueListControls handleSearch={setSearch}
handleSearch={setSearch} searchTerm={search}
searchTerm={search} tableRef={queueRef}
tableRef={queueRef} type={ItemListKey.QUEUE_SONG}
type={ItemListKey.QUEUE_SONG} />
/> <PlayQueue listKey={ItemListKey.QUEUE_SONG} searchTerm={search} />
<PlayQueue listKey={ItemListKey.QUEUE_SONG} searchTerm={search} />
</LibraryContainer>
</AnimatedPage> </AnimatedPage>
); );
}; };