diff options
author | Tobias Markmann <tm@ayena.de> | 2016-07-20 14:26:03 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-07-22 14:52:36 (GMT) |
commit | cf12f1580d4ddc491a53927e7adf1a94df6e2e05 (patch) | |
tree | f77b788dadc5cf40d2e692c1d3f57042bc25a620 /Swift/resources/themes | |
parent | 4e386af2f811d8fbaa91259e1300e9b080d71533 (diff) | |
download | swift-cf12f1580d4ddc491a53927e7adf1a94df6e2e05.zip swift-cf12f1580d4ddc491a53927e7adf1a94df6e2e05.tar.bz2 |
Allow to wrap long words in the chat view
This prevents horizontal overflow in case of long URLs.
Test-Information:
Tested with multiple MUC rooms with lots of URL messages.
Tested on OS X 10.11.5 with Qt 5.5.1.
Change-Id: I66c1786bb23c23b2379dc15e1bef6fff3f85f150
Diffstat (limited to 'Swift/resources/themes')
-rw-r--r-- | Swift/resources/themes/Default/main.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swift/resources/themes/Default/main.css b/Swift/resources/themes/Default/main.css index 68406ea..35b55c7 100644 --- a/Swift/resources/themes/Default/main.css +++ b/Swift/resources/themes/Default/main.css @@ -220,10 +220,11 @@ body { font-size: 14px; color: #595959; vertical-align: top; -} -.text a { - word-break: break-all; /* Break long URLs at any point. */ + /* Break long URLs at any point. */ + word-break: break-word; + word-wrap: break-word; + hyphens: auto; } .username { |