There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: input placeholder display error when the width is not enough
qishaoxuan56998d07a1e6
diff --git a/libs/components/ui/src/input/Input.tsx b/libs/components/ui/src/input/Input.tsxindex b0628300c8..aeb5c97404 100644--- a/libs/components/ui/src/input/Input.tsx+++ b/libs/components/ui/src/input/Input.tsx@@ -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}`,},