diff --git a/lib/zin/wg/thinktableinput/css/v1.css b/lib/zin/wg/thinktableinput/css/v1.css index d6e92076dd..1b1efa3923 100644 --- a/lib/zin/wg/thinktableinput/css/v1.css +++ b/lib/zin/wg/thinktableinput/css/v1.css @@ -1,3 +1,4 @@ .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))} \ No newline at end of file +.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))} +html:not([lang="zh-cn"],[lang="zh-tw"]) .money-unit{padding-right: 120px;} diff --git a/lib/zin/wg/thinktableinput/v1.php b/lib/zin/wg/thinktableinput/v1.php index 76b80cef70..321479287a 100644 --- a/lib/zin/wg/thinktableinput/v1.php +++ b/lib/zin/wg/thinktableinput/v1.php @@ -99,7 +99,7 @@ class thinkTableInput extends thinkQuestion (!empty($inputType) && $inputType == '2') ? inputControl ( input(set(array( - 'class' => 'w-72 h-10 dimension-weight', + 'class' => 'w-72 h-10 money-unit', 'name' => 'result[' . $index . ']', 'type' => 'number', 'value' => $value,