* Adjust lib to libAndModule. the bug #41678.

This commit is contained in:
wangyuting
2024-01-04 10:51:29 +08:00
parent 71e8306387
commit ee37befd23
3 changed files with 5 additions and 17 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#title {border: unset; font-size: 18px; font-weight: bold; color: #3c4353; padding-left: 16px; --tw-ring-shadow: none}
#title:focus {box-shadow: none; outline: unset}
.titleBox{padding: 7px; background: #fff}
#modalBasicInfo .form-group {margin-top: calc(1rem*(1 - var(--tw-space-y-reverse)));}
#modalBasicInfo .form-group {margin-top: 0.5rem}
.form-horz>:not([hidden])~:not([hidden]){margin-top: 0;}
#whitelistBox .form-group-wrapper+.form-group-wrapper {margin-top: 10px;}
#titleBox:before {position: absolute; --tw-translate-y: .125rem; --tw-scale-x: 1.25; --tw-scale-y: 1.25; --tw-text-opacity: 1; color: rgba(var(--color-danger-500-rgb),var(--tw-text-opacity)); content: "*"; display: inline-block; margin-left: 0.25rem; transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
@@ -14,4 +14,4 @@
.m-doc-edit #main {min-height: 0;}
.m-doc-edit #main > .container {max-width: initial!important; padding: 0!important}
.m-doc-edit .form {height: calc(100vh - 48px)}
.m-doc-edit #mainContent > .form {height: calc(100vh - 48px)}
+1 -1
View File
@@ -170,7 +170,7 @@ else
formGroup
(
set::width('1/2'),
set::label($lang->doc->lib),
set::label($lang->doc->libAndModule),
set::required(true),
picker
(
+2 -14
View File
@@ -88,19 +88,7 @@ form
(
modal
(
div
(
setClass('flex items-center'),
div($lang->doc->edit),
entityLabel
(
set::entityID($doc->id),
set::level(1),
set::text($doc->title),
set::reverse(true),
setClass('pl-2')
)
),
modalHeader(),
set::id('modalBasicInfo'),
on::change('#product', "loadObjectModules"),
on::change('#project', "loadObjectModules"),
@@ -123,7 +111,7 @@ form
(
set::width('1/2'),
set::required(true),
set::label($lang->doc->lib),
set::label($lang->doc->libAndModule),
picker
(
set::name('module'),