File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/vue/src/form-item/src Expand file tree Collapse file tree 1 file changed +2
-2
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',
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 ',
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)]'
73
73
data-tag =" tiny-form-item-inline"
74
74
:class ="
75
75
m(
76
- `flex-1 m-0 sm:m-auto relative sm:pt-0 sm:top-auto text-sm after:content-[''] after:table after:clear-both before:content-[''] before:table [& _button:not(:last-child)]:mr-2`,
76
+ `min-w-0 flex-1 m-0 sm:m-auto relative sm:pt-0 sm:top-auto text-sm after:content-[''] after:table after:clear-both before:content-[''] before:table [& _button:not(:last-child)]:mr-2`,
77
77
'[& _[data-tag=tiny-checkbox]]:py-0 [& _[data-tag=tiny-input]]:w-full',
78
78
'[& _[data-tag=tiny-input]_textarea]:px-0 sm:[& _[data-tag=tiny-input]_textarea]:px-3 [& _[data-tag=tiny-input]_textarea]:w-full [& _[data-tag=tiny-input]_textarea]:pt-1 sm:[& _[data-tag=tiny-input]_textarea]:pt-2',
79
79
state.formInline ? 'align-sub leading-none' : '',
You can’t perform that action at this time.
0 commit comments