mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 21:48:48 +08:00
fix: ui issues (#3755)
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user