File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/vue/src/form-item/src Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 2626 v-if =" slots.label || label"
2727 :class ="
2828 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',
3030 'overflow-hidden text-ellipsis',
3131 state.labelPosition === 'top'
3232 ? '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)]'
120120 <div
121121 :class ="
122122 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',
124124 (typeof inlineMessage === 'boolean' && inlineMessage) || state.inlineMessage
125125 ? 'relative top-auto left-auto inline-block'
126- : '',
127- state.formItemSize === 'small' ? 'pt-0.5' : '',
128- state.formItemSize === 'mini' ? 'pt-px' : ''
126+ : ''
129127 )
130128 "
131129 :title =" state.validateMessage"
You can’t perform that action at this time.
0 commit comments