From 4d78f0cb3b9a2c4aeb96cdb6a47f83b2953b1ea5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 28 Jun 2021 16:02:28 +0200 Subject: [PATCH] Fix missing action buttons in some dialogs in mobile view --- pixelegg/mobile/fw_mobile.css | 12 +++++++++--- pixelegg/mobile/fw_mobile.less | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 9f6507f94c..6de5b21c4e 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -8456,7 +8456,7 @@ table.egwGridView_grid img.et2_appicon { } body .ui-dialog .ui-dialog-buttonpane { position: fixed !important; - top: 0 !important; + bottom: 0 !important; left: 0 !important; display: block !important; padding: 0 !important; @@ -8478,6 +8478,7 @@ table.egwGridView_grid img.et2_appicon { background-color: transparent !important; background-size: 24px 24px !important; border: none; + float: right !important; } body .ui-dialog .ui-dialog-buttonpane button span { padding-left: 20px; @@ -8487,8 +8488,13 @@ table.egwGridView_grid img.et2_appicon { color: white; z-index: 100; background: #0c5da5; - width: 30%; - padding-top: 10px; + width: 100%; + height: 35px; + padding: 0; + padding-left: 5px; + margin: -3px; + padding-top: 15px; + border-radius: 0; } body .ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close { display: none; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index 00ac34fa0c..ad94c9dcc1 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -596,7 +596,7 @@ } .ui-dialog .ui-dialog-buttonpane { position: fixed !important; - top:0 !important; + bottom:0 !important; left:0 !important; display:block !important; padding:0 !important; @@ -609,6 +609,7 @@ button { height:35px; .white-svg; + float: right !important; span {padding-left: 20px;} } background: #0c5da5; @@ -618,8 +619,13 @@ color: white; z-index: 100; background: #0c5da5; - width: 30%; - padding-top: 10px; + width: 100%; + height: 35px; + padding: 0; + padding-left: 5px; + margin: -3px; + padding-top: 15px; + border-radius: 0; .ui-dialog-titlebar-close { display: none; }