[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/src

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 21 18:49:23 UTC 2020


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

New commits:
commit 69c21d5bb4d084cb8abc38b4176c8b40f12c8490
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Jul 17 14:45:48 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Jul 21 20:49:05 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>
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99027
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js
index c7250de7f..ff510b7c2 100644
--- a/loleaflet/src/control/Control.PartsPreview.js
+++ b/loleaflet/src/control/Control.PartsPreview.js
@@ -116,6 +116,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 frame = L.DomUtil.create('div', 'preview-frame', this._scrollContainer);


More information about the Libreoffice-commits mailing list