loleaflet/css/loleaflet.css                   |    2 --
 loleaflet/src/control/Control.PartsPreview.js |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d3c1062f561867e9059e88d0d8b124d92e275204
Author:     Henry Castro <[email protected]>
AuthorDate: Wed Oct 9 09:47:34 2019 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Wed Oct 9 15:50:51 2019 +0200

    loleaflet: mobile: remove the static CSS height and width properties of
    
    slide-sorter element
    
    Unfortunately the static properties affect the spreadsheet and writer
    views, and it is prefereable to change it dynamically when the impress view 
is
    loaded. So the other views will have an empty slide-sorter element.
    
    Change-Id: I03a969c6de74999509314184a4aad9bc5c9e3380
    Reviewed-on: https://gerrit.libreoffice.org/80546
    Reviewed-by: Henry Castro <[email protected]>
    Tested-by: Henry Castro <[email protected]>

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 0883874da..8d1b5b88f 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -200,8 +200,6 @@ body {
                top: initial;
                left: initial;
                bottom: 33px;
-               height: 60px;
-               width: 100%;
                max-width: initial;
        }
 
diff --git a/loleaflet/src/control/Control.PartsPreview.js 
b/loleaflet/src/control/Control.PartsPreview.js
index 5643c81a2..0d909645e 100644
--- a/loleaflet/src/control/Control.PartsPreview.js
+++ b/loleaflet/src/control/Control.PartsPreview.js
@@ -53,6 +53,8 @@ L.Control.PartsPreview = L.Control.extend({
                                var previewContBB = 
this._partsPreviewCont.getBoundingClientRect();
                                var bottomBound;
                                if (this._direction === 'x') {
+                                       
$('#presentation-controls-wrapper').css({ width: '100%'});
+                                       $('#slide-sorter').css({ height: 
this.options.maxHeight + 'px' });
                                        this._previewContTop = 
previewContBB.left;
                                        bottomBound = previewContBB.right + 
previewContBB.width / 2;
                                } else {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to