Skip to content

Commit 804da78

Browse files
committed
fix(form-item): more appropriate modification that aligns with the form-item's intent to influence the width of subordinate elements
1 parent fff845b commit 804da78

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/vue/src/form-item/src/mobile-first.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
:class="[
110110
'[&_[aria-label=checkbox-group]]:pl-0.5 sm:[&_[aria-label=checkbox-group]]:pl-0',
111111
'[&_>:first-child[data-tag=tiny-checkbox]]:pl-0.5 sm:[&_>:first-child[data-tag=tiny-checkbox]]:pl-0',
112-
'[&_[class^=tiny-autocomplete]]:w-full',
112+
'[&_.tiny-autocomplete]:w-full',
113+
'[&_.tiny-cascader]:w-full',
113114
state.isDisplayOnly
114115
? '[&_>*:not([data-tag^=tiny-],[class^=tiny-])]:leading-8 [&_>*:not([data-tag^=tiny-],[class^=tiny-])]:sm:leading-normal'
115116
: ''

0 commit comments

Comments
 (0)