Closed mdthansil closed 1 month ago
2.18.6
https://stackblitz.com/edit/nuxt-ui-jideye
I've been trying to add font size to a textarea using Nuxt UI, but I'm having trouble getting it to work. For testing purposes, I've tried almost all available options, but none of them seem to be working.
<UTextarea :rows="10" v-model="encoderForm.input" placeholder="Text to encode" :ui="{ placeholder: 'text-[40px] text-red-500', base: 'text-[40px]', form: 'text-[40px]', rounded: 'rounded-md text-[40px]', }" /> ### Additional context _No response_ ### Logs _No response_
It's now working after adding important by placing an exclamation mark before the class name base: '!text-[40px]',
base: '!text-[40px]',
Environment
Version
2.18.6
Reproduction
https://stackblitz.com/edit/nuxt-ui-jideye
Description
I've been trying to add font size to a textarea using Nuxt UI, but I'm having trouble getting it to work. For testing purposes, I've tried almost all available options, but none of them seem to be working.