From 1aef969bc36b4c734f67a4ee9d8f340bdf7d14a9 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 17 Feb 2023 13:12:01 -0700 Subject: [PATCH] Make dialogs full width --- pixelegg/mobile/fw_mobile.css | 3 +++ pixelegg/mobile/fw_mobile.less | 45 ++++++++++++++++++++-------------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index cde6cc4d26..f2735d4946 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -8318,6 +8318,9 @@ table.egwGridView_grid img.et2_appicon { border-radius: 0; position: fixed; } + body et2-dialog { + --width: 100%; + } body div.ui-dialog { width: 100% !important; height: 100% !important; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index 5df170ac8e..7d0bc5498d 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -574,25 +574,32 @@ td.sub_item_hk {width:100%;} } } - div.egw_message_wrapper { - bottom: 0px; - top: auto; - left: 0px; - right: 0px !important; - max-width: 100%; - border-radius: 0; - position: fixed; - } - div.ui-dialog { - width:100% !important; - height:100% !important; - left:0 !important; - top:0 !important; - } - div.ui-dialog-content { - height:87% !important; - margin-top: 60px !important; - padding:0 !important; + + div.egw_message_wrapper { + bottom: 0px; + top: auto; + left: 0px; + right: 0px !important; + max-width: 100%; + border-radius: 0; + position: fixed; + } + + et2-dialog { + --width: 100%; + } + + div.ui-dialog { + width: 100% !important; + height: 100% !important; + left: 0 !important; + top: 0 !important; + } + + div.ui-dialog-content { + height: 87% !important; + margin-top: 60px !important; + padding: 0 !important; .mob-fontsize-l; } .ui-dialog .ui-dialog-buttonpane {