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 <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
This commit is contained in:
Marco Cecchetti 2018-03-13 21:49:40 +01:00 committed by Marco Cecchetti
parent d887b08d60
commit fac61cb01c

View file

@ -238,6 +238,7 @@ L.Control.LokDialog = L.Control.extend({
var that = this;
$(dialogContainer).dialog({
minWidth: width,
width: width,
title: title ? title : '',
modal: false,