loleaflet/css/toolbar.css                        |    1 +
 loleaflet/src/control/Control.JSDialogBuilder.js |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 3d5091ca6ca53d6f1b2f1a63e6e4533137a8ea98
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Wed Oct 9 12:08:02 2019 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Wed Oct 9 13:24:44 2019 +0200

    mobile: Move the mobile wizard checkboxes to the right.
    
    Change-Id: I79c6842ea363178bb0b8315c2a0740bf328a0961
    Reviewed-on: https://gerrit.libreoffice.org/80536
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Tested-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index 21f6e516c..838c21c02 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -108,6 +108,7 @@
                width: 24px;
                height: 24px;
                margin: 10px 0px !important;
+               float: right;
                -webkit-appearance: none;
     -moz-appearance: none;
     -o-appearance: none;
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js 
b/loleaflet/src/control/Control.JSDialogBuilder.js
index 87b619d63..5f192e6a9 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -303,11 +303,11 @@ L.Control.JSDialogBuilder = L.Control.extend({
        _checkboxControl: function(parentContainer, data, builder) {
                var div = L.DomUtil.createWithId('div', data.id, 
parentContainer);
 
-               var checkbox = L.DomUtil.createWithId('input', data.id, div);
-               checkbox.type = 'checkbox';
                var checkboxLabel = L.DomUtil.create('label', '', div);
                checkboxLabel.innerHTML = builder._cleanText(data.text);
                checkboxLabel.for = data.id;
+               var checkbox = L.DomUtil.createWithId('input', data.id, div);
+               checkbox.type = 'checkbox';
 
                if (data.enabled == 'false')
                        $(checkbox).attr('disabled', 'disabled');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to