mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
fix: input placeholder display error when the width is not enough
This commit is contained in:
@@ -63,6 +63,10 @@ const StyledInputElement = styled('input')(({ theme }) => ({
|
||||
lineHeight: '1.5',
|
||||
color: `${theme.affine.palette.secondaryText}`,
|
||||
flexGrow: 1,
|
||||
maxWidth: '100%',
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
whiteSpace: 'nowrap',
|
||||
'&::placeholder': {
|
||||
color: `${theme.affine.palette.borderColor}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user