mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
Increase default header height
This commit is contained in:
parent
19f55b4a2e
commit
ae3c331061
@ -6,7 +6,7 @@ import { useShouldPadTitlebar } from '/@/renderer/hooks';
|
||||
const Container = styled(motion.div)<{ $useOpacity?: boolean; height?: string }>`
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
height: ${(props) => props.height || '55px'};
|
||||
height: ${(props) => props.height || '60px'};
|
||||
opacity: ${(props) => props.$useOpacity && 'var(--header-opacity)'};
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
`;
|
||||
@ -20,6 +20,10 @@ const Header = styled(motion.div)<{ $padRight?: boolean }>`
|
||||
button {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
input {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
`;
|
||||
|
||||
interface PageHeaderProps {
|
||||
|
Loading…
Reference in New Issue
Block a user