Prevent header play button from being squished

This commit is contained in:
jeffvli 2023-03-30 08:22:40 -07:00
parent 2b1c1d5e59
commit a17e0adf44
2 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,5 @@
import { NativeScrollArea } from '/@/renderer/components';
import { AnimatedPage, LibraryHeaderBar, PlayButton } from '/@/renderer/features/shared';
import { AnimatedPage, LibraryHeaderBar } from '/@/renderer/features/shared';
import { useRef } from 'react';
import type { AgGridReact as AgGridReactType } from '@ag-grid-community/react/lib/agGridReact';
import { useAlbumDetail } from '/@/renderer/features/albums/queries/album-detail-query';
@ -42,7 +42,7 @@ const AlbumDetailRoute = () => {
backgroundColor: background,
children: (
<LibraryHeaderBar>
<PlayButton onClick={handlePlay} />
<LibraryHeaderBar.PlayButton onClick={handlePlay} />
<LibraryHeaderBar.Title>{detailQuery?.data?.name}</LibraryHeaderBar.Title>
</LibraryHeaderBar>
),