Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: allow newlines in item body

Abdullah Atta6415e89df9e7
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.js
index f7a0ff5d0..0b1e91f5d 100644
--- a/apps/web/src/components/list-item/index.js
+++ b/apps/web/src/components/list-item/index.js
@@ -180,6 +180,7 @@ function ListItem(props) {
lineHeight: `1.2rem`,
overflow: "hidden",
textOverflow: "ellipsis",
+ whiteSpace: "pre-wrap",
position: "relative",
display: "-webkit-box",
WebkitLineClamp: 4,