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:
parent
d887b08d60
commit
fac61cb01c
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ L.Control.LokDialog = L.Control.extend({
|
|||
|
||||
var that = this;
|
||||
$(dialogContainer).dialog({
|
||||
minWidth: width,
|
||||
width: width,
|
||||
title: title ? title : '',
|
||||
modal: false,
|
||||
|
|
Loading…
Reference in a new issue