From 8b18163f06ef44b2dac5fb877aa2c3fdad3d2ae7 Mon Sep 17 00:00:00 2001 From: davy-c Date: Thu, 12 Dec 2019 10:54:07 +0900 Subject: [PATCH] fix with ellipsis ; --- src/components/NotePage/NoteList/NoteItem.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/NotePage/NoteList/NoteItem.tsx b/src/components/NotePage/NoteList/NoteItem.tsx index 25e1ace762..e80942fa20 100644 --- a/src/components/NotePage/NoteList/NoteItem.tsx +++ b/src/components/NotePage/NoteList/NoteItem.tsx @@ -44,6 +44,9 @@ export const StyledNoteListItem = styled.div` } .preview { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } `