[Libreoffice-commits] online.git: loleaflet/css loleaflet/src
gokaysatir (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 11 14:14:15 UTC 2020
loleaflet/css/loleaflet.css | 4 ++++
loleaflet/src/control/Control.AlertDialog.js | 1 +
2 files changed, 5 insertions(+)
New commits:
commit 091df95ac1e8615a65e116a338a4ae643910e030
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 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at 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 () {
More information about the Libreoffice-commits
mailing list