From fac61cb01c03356abe15cd29e6d04bc04c04e7c8 Mon Sep 17 00:00:00 2001 From: Marco Cecchetti Date: Tue, 13 Mar 2018 21:49:40 +0100 Subject: [PATCH] online: set jquery dialog min width explicitly Default jquery dialog min width is 150px, if the dialog width in core is less than 150 pixel, the dialog looks ugly in online. Since the dialog is not resizable it's fine to set width and minWidth to the same value. Change-Id: Ieba2e4d12b6c9f5b328091c453c7e09b10ac1422 Reviewed-on: https://gerrit.libreoffice.org/51597 Reviewed-by: Marco Cecchetti Tested-by: Marco Cecchetti --- loleaflet/src/control/Control.LokDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js index 15dea5e2b..8ffd62e60 100644 --- a/loleaflet/src/control/Control.LokDialog.js +++ b/loleaflet/src/control/Control.LokDialog.js @@ -238,6 +238,7 @@ L.Control.LokDialog = L.Control.extend({ var that = this; $(dialogContainer).dialog({ + minWidth: width, width: width, title: title ? title : '', modal: false,