From 75f67c85a7aa8fcf636ccf44cec55565ccabd3cf Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 24 Jun 2024 09:42:34 +0800 Subject: [PATCH] * [bug#51515,done,0.2h] set margin. --- lib/zin/wg/detailheader/v1.php | 2 +- module/story/ui/change.html.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/zin/wg/detailheader/v1.php b/lib/zin/wg/detailheader/v1.php index 9091e97603..22497a6a7d 100644 --- a/lib/zin/wg/detailheader/v1.php +++ b/lib/zin/wg/detailheader/v1.php @@ -38,7 +38,7 @@ class detailHeader extends wg return div ( - setClass('detail-header flex justify-between mb-3 min-w-0 flex-nowrap'), + setClass('detail-header flex justify-between mb-3 min-w-0 flex-nowrap', $this->prop('class')), div ( setClass('flex flex-auto min-w-0 items-center gap-x-4 flex-nowrap pr-5'), diff --git a/module/story/ui/change.html.php b/module/story/ui/change.html.php index c08db7e959..e8f6da0d78 100644 --- a/module/story/ui/change.html.php +++ b/module/story/ui/change.html.php @@ -168,6 +168,7 @@ if($this->config->vision != 'or') $formItems['affected'] = $getAffectedTabs($sto detailHeader ( + setClass('mx-3'), to::prefix($lang->story->changed), to::title ( @@ -185,6 +186,7 @@ detailHeader detailBody ( setID('dataform'), + setClass('mx-3'), set::isForm(true), set::ajax(array('beforeSubmit' => jsRaw('clickSubmit'))), set::actions(array