Increase default header height

This commit is contained in:
jeffvli 2022-12-21 01:27:29 -08:00
parent 19f55b4a2e
commit ae3c331061

View file

@ -6,7 +6,7 @@ import { useShouldPadTitlebar } from '/@/renderer/hooks';
const Container = styled(motion.div)<{ $useOpacity?: boolean; height?: string }>` const Container = styled(motion.div)<{ $useOpacity?: boolean; height?: string }>`
z-index: 100; z-index: 100;
width: 100%; width: 100%;
height: ${(props) => props.height || '55px'}; height: ${(props) => props.height || '60px'};
opacity: ${(props) => props.$useOpacity && 'var(--header-opacity)'}; opacity: ${(props) => props.$useOpacity && 'var(--header-opacity)'};
transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out;
`; `;
@ -20,6 +20,10 @@ const Header = styled(motion.div)<{ $padRight?: boolean }>`
button { button {
-webkit-app-region: no-drag; -webkit-app-region: no-drag;
} }
input {
-webkit-app-region: no-drag;
}
`; `;
interface PageHeaderProps { interface PageHeaderProps {