Skip to content

Commit

Permalink
fix(texttarea): able to set textarea height by class
Browse files Browse the repository at this point in the history
  • Loading branch information
lecoueyl committed Sep 2, 2021
1 parent 0d2690b commit 6ef3292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/textarea/Textarea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</p>

<textarea
class="pl-2 appearance-none block w-full text-gray-700 dark:text-gray-200 placeholder-gray-400 dark:placeholder-gray-600 border rounded-form leading-tight
class="h-full pl-2 appearance-none block w-full text-gray-700 dark:text-gray-200 placeholder-gray-400 dark:placeholder-gray-600 border rounded-form leading-tight
focus:outline-none focus:border-primary-500 dark:focus:border-primary-500 transition-colors duration-150 ease-in-out"
:class="[
disabled ? 'bg-gray-200 dark:bg-gray-800 cursor-not-allowed' : 'bg-white dark:bg-gray-900',
Expand Down

0 comments on commit 6ef3292

Please sign in to comment.