fix: ui issues (#3755)

This commit is contained in:
Qi
2023-08-15 13:53:19 +08:00
committed by GitHub
parent 8d2df468ee
commit a4fe7dd119
2 changed files with 3 additions and 4 deletions
@@ -12,7 +12,6 @@ import type { ReactElement } from 'react';
import { useCallback } from 'react'; import { useCallback } from 'react';
export const StyledListItem = styled(MenuItem)(() => ({ export const StyledListItem = styled(MenuItem)(() => ({
width: '132px',
height: '38px', height: '38px',
textTransform: 'capitalize', textTransform: 'capitalize',
})); }));
@@ -1,4 +1,4 @@
import { style } from '@vanilla-extract/css'; import { type ComplexStyleRule, style } from '@vanilla-extract/css';
export const headerTitleContainer = style({ export const headerTitleContainer = style({
display: 'flex', display: 'flex',
@@ -10,11 +10,11 @@ export const headerTitleContainer = style({
}); });
export const titleEditButton = style({ export const titleEditButton = style({
flexGrow: 1,
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
}); WebkitAppRegion: 'no-drag',
} as ComplexStyleRule);
export const titleInput = style({ export const titleInput = style({
position: 'absolute', position: 'absolute',