From 9c0823507982cdcd702b2385f677e2b00a0cb0ea Mon Sep 17 00:00:00 2001 From: Zuhri Utama Date: Mon, 28 Aug 2023 15:39:56 +0700 Subject: [PATCH] IDEMPIERE-4539 Process Popup has extra width when moving by mouse (#1979) * set width on class process-model-dialog to set base width on 600px * added css for media screen < 600px * update version for idempiere.theme.default --- org.adempiere.ui.zk/WEB-INF/src/metainfo/zk/lang-addon.xml | 2 +- .../theme/default/css/fragment/parameter-process.css.dsp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/metainfo/zk/lang-addon.xml b/org.adempiere.ui.zk/WEB-INF/src/metainfo/zk/lang-addon.xml index a2519cd241..4a78f2ba7b 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/metainfo/zk/lang-addon.xml +++ b/org.adempiere.ui.zk/WEB-INF/src/metainfo/zk/lang-addon.xml @@ -57,6 +57,6 @@ Copyright (C) 2007 Ashley G Ramdass (ADempiere WebUI). - + diff --git a/org.adempiere.ui.zk/WEB-INF/src/web/theme/default/css/fragment/parameter-process.css.dsp b/org.adempiere.ui.zk/WEB-INF/src/web/theme/default/css/fragment/parameter-process.css.dsp index 81a81cebd4..10d748fcb7 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/web/theme/default/css/fragment/parameter-process.css.dsp +++ b/org.adempiere.ui.zk/WEB-INF/src/web/theme/default/css/fragment/parameter-process.css.dsp @@ -8,6 +8,9 @@ when detect side effect, fix to only apply for parameter window*/ .main-parameter-layout { height: 100%; } +.process-modal-dialog { + width: 600px; +} .process-modal-dialog .main-parameter-layout{ height: auto; flex-basis: auto; @@ -80,6 +83,9 @@ when detect side effect, fix to only apply for parameter window*/ .popup-dialog.z-window.z-window-overlapped.z-window-shadow, .popup-dialog.z-window.z-window-noborder.z-window-highlighted.z-window-shadow{ width:100%; + } + .process-modal-dialog { + width: 100%; } }