mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Fix for Tavern Chat and extremely long posts
TL;DR - made tavern chat posts word-wrap, with a max-height to prevent long posts from disrupting scrolling of site Explanation: Don't know if anyone noticed that random post by an unnamed person (blank name) with the text of "HELLOOOOO…[repeat a bazillion times]. Well this "broke" chat, meaning there was all of a sudden this side scroll action (which is particularly annoying with multitouch mouse pads). This adjustment prevents such a thing from happening again. Think of "code view" in forums, where text is in it's own little scrolly window.
This commit is contained in:
parent
201fb6617b
commit
03a73bab72
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@
|
|||
padding-top:15px
|
||||
padding-bottom:15px
|
||||
border-bottom 1px solid #ddd
|
||||
word-wrap: break-word;
|
||||
max-height: 12em;
|
||||
overflow: scroll;
|
||||
|
||||
&.highlight
|
||||
background #EEE
|
||||
|
|
|
|||
Loading…
Reference in a new issue