mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Increase default header height
This commit is contained in:
@@ -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 New Issue
Block a user