* [task#135801 doing 0.2h 2h] modify amount unit style of thinktableinput.

This commit is contained in:
zhangyu
2024-12-31 11:18:53 +08:00
committed by 孙浩
parent 62eb621a2a
commit 9031f628fa
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,4 +1,6 @@
.form-horz .form-group {align-items: center;}
.result-width {width: calc(100% - 148px);}
.form-control[readonly] {cursor: not-allowed; background-color: rgba(var(--color-gray-100-rgb),var(--tw-bg-opacity)); --tw-bg-opacity: .4; color:rgba(var(--color-gray-700-rgb),var(--tw-bg-opacity))}
.form .form-group-wrapper, .form-horz .form-group-wrapper.amount-unit{width: auto;}
.amount-unit .picker-select{height: 40px; width: 112px;}
html:not([lang="zh-cn"],[lang="zh-tw"]) .money-unit{padding-right: 120px;}
+1 -1
View File
@@ -101,7 +101,7 @@ class thinkTableInput extends thinkQuestion
(!empty($inputType) && $inputType == '2') ? inputGroup
(
input(set(array(
'class' => 'w-72 h-10 result-amount',
'class' => 'w-64 h-10 result-amount',
'name' => 'result[' . $index . ']',
'type' => 'number',
'value' => $value,