Wrap text in <pre>

This commit is contained in:
miruka 2019-09-07 14:34:14 -04:00
parent cde0c15a68
commit 78119d1ef0
2 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,7 @@
- Direct chats category - Direct chats category
- Markdown: don't turn #things (no space) and `thing\n---` into title, - Markdown: don't turn #things (no space) and `thing\n---` into title,
disable `__` syntax for bold/italic disable `__` syntax for bold/italic
- `<pre>` scrollbar on overflow - Better `<pre>`
- When inviting someone to direct chat, room is "Empty room" until accepted, - When inviting someone to direct chat, room is "Empty room" until accepted,
it should be the peer's display name instead. it should be the peer's display name instead.
- Animate RoomEventDelegate DayBreak apparition - Animate RoomEventDelegate DayBreak apparition

View File

@ -289,6 +289,7 @@ chat:
color code: colors.code color code: colors.code
string styleSheet: string styleSheet:
"* { white-space: pre-wrap }" +
"a { color: " + link + " }" + "a { color: " + link + " }" +
"code { font-family: " + fontFamily.mono + "; " + "code { font-family: " + fontFamily.mono + "; " +