Increase default header height
This commit is contained in:
parent
19f55b4a2e
commit
ae3c331061
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Reference in a new issue