[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/css loleaflet/src

gokaysatir (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 11 17:41:23 UTC 2020


 loleaflet/css/loleaflet.css                  |    4 ++++
 loleaflet/src/control/Control.AlertDialog.js |    1 +
 2 files changed, 5 insertions(+)

New commits:
commit 6051ccd7da466eab53223d4320549246246fef2c
Author:     gokaysatir <gokaysatir at collabora.com>
AuthorDate: Mon Aug 10 11:10:30 2020 +0300
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Aug 11 19:41:04 2020 +0200

    loleaflet: Wrap long words on hyperlink open dialog.
    
    Change-Id: I944b2314c766f7e3f7f313a5afea3b022b637c05
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100416
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    (cherry picked from commit 091df95ac1e8615a65e116a338a4ae643910e030)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100512

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 8fe837734..155188180 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -598,3 +598,7 @@ body {
 .drop-down-field-list-item:hover {
 	background: #0b87e7;
 }
+
+.word-wrap-for-vex-dialog {
+	overflow-wrap: break-word;
+}
\ No newline at end of file
diff --git a/loleaflet/src/control/Control.AlertDialog.js b/loleaflet/src/control/Control.AlertDialog.js
index 67224907a..8118a30f1 100644
--- a/loleaflet/src/control/Control.AlertDialog.js
+++ b/loleaflet/src/control/Control.AlertDialog.js
@@ -71,6 +71,7 @@ L.Control.AlertDialog = L.Control.extend({
 			vex.dialog.open({
 				message: messageText,
 				showCloseButton: true,
+				contentClassName: 'word-wrap-for-vex-dialog',
 				buttons: buttonsList,
 				callback: function() {},
 				afterClose: function () {


More information about the Libreoffice-commits mailing list