[Libreoffice-commits] online.git: loleaflet/src

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 17 13:22:51 UTC 2020


 loleaflet/src/control/Control.PartsPreview.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1ba397ac9554a9f3c4da3a035e8ce3068282ed84
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Jul 17 14:45:48 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Jul 17 15:22:32 2020 +0200

    Keep slide sorter in line on mobile devices
    
    This prevents us from multi line slide sorter
    on mobile devices after new slide was added.
    
    Change-Id: Ibf0e7784e1f58f2706e1595f1cb0d66eb2373410
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98972
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js
index 087a1f5db..73d355a18 100644
--- a/loleaflet/src/control/Control.PartsPreview.js
+++ b/loleaflet/src/control/Control.PartsPreview.js
@@ -111,6 +111,7 @@ L.Control.PartsPreview = L.Control.extend({
 				}, this);
 
 				this._scrollContainer = $(this._partsPreviewCont).find('.mCSB_container').get(0);
+				$(this._scrollContainer).css('display', 'inline-table');
 
 				// Add a special frame just as a drop-site for reordering.
 				var frameClass = 'preview-frame ' + this.options.frameClass;


More information about the Libreoffice-commits mailing list