summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-04-06 07:09:34 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-04-06 12:11:09 (GMT)
commitd881c4ff390a21c499fd6bc685738cf4e3fabfbd (patch)
treecfd87064de9d0dd7b72342bf5e06efbf3154fbbf /Swift/resources/themes/Default
parent485108f595979539d85ab19e01771f7240fee06b (diff)
downloadswift-d881c4ff390a21c499fd6bc685738cf4e3fabfbd.zip
swift-d881c4ff390a21c499fd6bc685738cf4e3fabfbd.tar.bz2
Break long words (e.g. URLs) in chat view to prevent overflows
This prevents a horizontal scroll bar as long as there is space for the message block. If it is resized to a size that only allows horizontal space for the dark side block, then there will still be a horizontal scroll bar. Test-Information: Tested in various chat rooms by resizing the splitter between chat view and occupant list. Change-Id: Ibdf6a9554adcbd7580cb9b40eaffff6279a184b0
Diffstat (limited to 'Swift/resources/themes/Default')
-rw-r--r--Swift/resources/themes/Default/main.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/resources/themes/Default/main.css b/Swift/resources/themes/Default/main.css
index d696508..97888c5 100644
--- a/Swift/resources/themes/Default/main.css
+++ b/Swift/resources/themes/Default/main.css
@@ -38,6 +38,7 @@ body {
top: 0;
left: 0;
margin-bottom: 10px;
+ overflow-wrap: break-word; /* Allow breaking of long words (e.g. URLs) to prevent overflow. */
/*margin-top: -2px; /* REMOVE THIS LINE. FOR DISPLAY PURPOSE ONLY. */
}