From 78119d1ef0797d2c825b3f196202d33bb2f914af Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 7 Sep 2019 14:34:14 -0400 Subject: [PATCH] Wrap text in

---
 TODO.md                | 2 +-
 src/themes/Default.qpl | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/TODO.md b/TODO.md
index d554666a..83ae8d0e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -150,7 +150,7 @@
   - Direct chats category
   - Markdown: don't turn #things (no space) and `thing\n---` into title,
     disable `__` syntax for bold/italic
-  - `
` scrollbar on overflow
+  - Better `
` 
   - When inviting someone to direct chat, room is "Empty room" until accepted,
     it should be the peer's display name instead.
   - Animate RoomEventDelegate DayBreak apparition
diff --git a/src/themes/Default.qpl b/src/themes/Default.qpl
index bce7bb3f..f962cb50 100644
--- a/src/themes/Default.qpl
+++ b/src/themes/Default.qpl
@@ -289,6 +289,7 @@ chat:
         color code:  colors.code
 
         string styleSheet:
+            "* { white-space: pre-wrap }" +
             "a { color: " + link  + " }" +
 
             "code { font-family: " + fontFamily.mono + "; " +