fix:文本域单行高度与input不一致 (#3573)

This commit is contained in:
liukun 2025-07-14 01:54:56 -07:00 committed by GitHub
parent dd9dc4164c
commit 795f1c8693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@
ref="textarea"
v-bind="a($attrs, ['type', 'class', 'style', '^on[A-Z]'])"
:tabindex="tabindex"
class="block w-full border-0 sm:border-solid sm:border-color-border sm:hover:border-color-border-hover sm:focus:border-color-brand-focus sm:disabled:border-color-border outline-0 rounded placeholder:text-color-text-placeholder placeholder:text-sm sm:disabled:placeholder:text-color-text-disabled text-sm text-color-text-primary bg-color-bg-1 disabled:cursor-not-allowed disabled:text-color-text-disabled sm:disabled:text-color-text-disabled sm:disabled:bg-color-bg-6"
class="block w-full border-0 h-8 sm:h-7 xs:h-6 sm:border-solid sm:border-color-border sm:hover:border-color-border-hover sm:focus:border-color-brand-focus sm:disabled:border-color-border outline-0 rounded placeholder:text-color-text-placeholder placeholder:text-sm sm:disabled:placeholder:text-color-text-disabled text-sm text-color-text-primary bg-color-bg-1 disabled:cursor-not-allowed disabled:text-color-text-disabled sm:disabled:text-color-text-disabled sm:disabled:bg-color-bg-6"
:class="[
readonly ? 'sm:border-0 px-0 py-0' : 'sm:border px-3 ',
state.isDisplayOnly ? 'hidden' : '',