Open
Description
You can change the
content
width globally using yourapp.config.ts
:export default defineAppConfig({ ui: { select: { slots: { content: 'min-w-fit' } } } })
Originally posted by @benjamincanac in #4300
please,
document in its page:
https://ui.nuxt.com/components/select
also, consider to add access to "content" through "ui" prop to make it, not only globally, but particularly available.
Now you can't do:
<USelect :ui="{ content: 'min-w-fit' }" ... />
I had to search hard to find my own answer, and I think it's a very important case for everyone. It will benefit us all.
Thank you in advance!