diff --git a/src/renderer/components/page-header/index.tsx b/src/renderer/components/page-header/index.tsx index decda542..1ea2e2ec 100644 --- a/src/renderer/components/page-header/index.tsx +++ b/src/renderer/components/page-header/index.tsx @@ -65,6 +65,7 @@ export interface PageHeaderProps } const TitleWrapper = styled(motion.div)` + position: absolute; width: 100%; height: 100%; `; diff --git a/src/renderer/features/shared/components/library-header-bar.tsx b/src/renderer/features/shared/components/library-header-bar.tsx index cf7e73ec..9f0b0304 100644 --- a/src/renderer/features/shared/components/library-header-bar.tsx +++ b/src/renderer/features/shared/components/library-header-bar.tsx @@ -2,21 +2,17 @@ import { ReactNode } from 'react'; import { Group } from '@mantine/core'; import { TextTitle } from '/@/renderer/components'; import { PlayButton as PlayBtn } from '/@/renderer/features/shared/components/play-button'; -import { useShouldPadTitlebar } from '/@/renderer/hooks'; interface LibraryHeaderBarProps { children: ReactNode; } export const LibraryHeaderBar = ({ children }: LibraryHeaderBarProps) => { - const padRight = useShouldPadTitlebar(); - return (