From fbe9b8d8d2c3bfd2546682d6cbbec2d4052e100b Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 18 Jul 2023 14:03:23 +0800 Subject: [PATCH] * zin: add condensed option to modalDialog. --- lib/zin/wg/modaldialog/v1.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/zin/wg/modaldialog/v1.php b/lib/zin/wg/modaldialog/v1.php index 5f7f458ac3..70b3b27143 100644 --- a/lib/zin/wg/modaldialog/v1.php +++ b/lib/zin/wg/modaldialog/v1.php @@ -8,6 +8,7 @@ class modalDialog extends wg 'title?: string', 'titleClass?: string', 'size?: string|number', + 'condensed?: bool', 'itemID?: int', 'headerClass?: string', 'headerProps?: array', @@ -105,7 +106,7 @@ class modalDialog extends wg { return div ( - setClass('modal-dialog'), + setClass('modal-dialog', $this->prop('condensed') ? 'modal-condensed' : ''), set($this->getRestProps()), $this->setSize(), div