[Libreoffice-commits] online.git: loleaflet/dist

Pranav Kant pranavk at collabora.co.uk
Tue Apr 25 14:10:56 UTC 2017


 loleaflet/dist/loleaflet.css |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 759b0945d475ebea09f48d85e821a66badc99b8e
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Tue Apr 25 19:30:59 2017 +0530

    loleaflet: Don't allow inserting breaks anywhere
    
    overflow-break property is enough for us which still allows inserting
    line breaks arbitrarily anywhere but only if there is no otherwise
    acceptable break points in the line.
    
    Change-Id: I8ea94daba258b00caa259c97597cf1206a89fa64

diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 810a2a31..b637a217 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -157,18 +157,11 @@ body {
 	line-height: 1.4;
 }
 
-/* Taken from https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
 .loleaflet-dont-break {
         /* These are technically the same, but use both */
         overflow-wrap: break-word;
 	word-wrap: break-word;
 
-	-ms-word-break: break-all;
-	/* This is the dangerous one in WebKit, as it breaks things wherever */
-	word-break: break-all;
-	/* Instead use this non-standard one: */
-	word-break: break-word;
-
 	/* Adds a hyphen where the word breaks, if supported (No Blink) */
 	-ms-hyphens: auto;
 	-moz-hyphens: auto;


More information about the Libreoffice-commits mailing list