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

New commits:
commit 091df95ac1e8615a65e116a338a4ae643910e030
Author:     gokaysatir <gokaysa...@collabora.com>
AuthorDate: Mon Aug 10 11:10:30 2020 +0300
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Tue Aug 11 16:13:56 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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 6f5ad442c..5fbfe8c6b 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -622,3 +622,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 c73d87d92..c7cff3b8b 100644
--- a/loleaflet/src/control/Control.AlertDialog.js
+++ b/loleaflet/src/control/Control.AlertDialog.js
@@ -83,6 +83,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 () {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to