File tree 1 file changed +3
-5
lines changed
packages/vue/src/form-item/src
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 26
26
v-if =" slots.label || label"
27
27
:class ="
28
28
m(
29
- 'py-3 sm:py-1.5 sm:min-h-[theme(spacing.7)] relative align-bottom float-left text-sm pr-3 sm:pr-4 box-border leading-5 shrink-0',
29
+ 'py-3 sm:py-0 sm:min-h-[theme(spacing.7)] relative align-bottom float-left text-sm pr-3 sm:pr-4 box-border leading-5 shrink-0',
30
30
'overflow-hidden text-ellipsis',
31
31
state.labelPosition === 'top'
32
32
? 'float-none inline-block text-left sm:text-left leading-none px-0 pt-0 pb-1.5 h-auto min-h-0 sm:py-0 sm:pb-1 sm:min-h-[theme(spacing.0)]'
120
120
<div
121
121
:class ="
122
122
m(
123
- 'relative sm:absolute left-0 bottom-1 sm:-bottom-5 text-color-error text-xs leading-normal line-clamp-3 sm:line-clamp-1 break-all',
123
+ 'relative sm:absolute left-0 bottom-1 sm:-bottom-4 text-color-error text-xs leading-4 line-clamp-3 sm:line-clamp-1 break-all',
124
124
(typeof inlineMessage === 'boolean' && inlineMessage) || state.inlineMessage
125
125
? 'relative top-auto left-auto inline-block'
126
- : '',
127
- state.formItemSize === 'small' ? 'pt-0.5' : '',
128
- state.formItemSize === 'mini' ? 'pt-px' : ''
126
+ : ''
129
127
)
130
128
"
131
129
:title =" state.validateMessage"
You can’t perform that action at this time.
0 commit comments