Skip to content

Commit

Permalink
[5.x] Add negative bottom margin to Textarea's character counter (#10390
Browse files Browse the repository at this point in the history
)

Add negative bottom margin to Textarea's character counter

Because this element is aligned to the right, it creates a larger-than-normal gap between this field and the next one below it. This change will pull the next field up by the proper amount so it looks the same whether it's there or not.
  • Loading branch information
jackmcdade authored Jul 3, 2024
1 parent 72aaa00 commit 413e4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/inputs/Textarea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@focus="$emit('focus')"
@blur="$emit('blur')"
/>
<div class="rtl:text-left ltr:text-right text-xs" :class="limitIndicatorColor" v-if="limit">
<div class="rtl:text-left ltr:text-right text-xs -mb-3 @sm:-mb-5 @lg:-mb-5" :class="limitIndicatorColor" v-if="limit">
<span v-text="currentLength"></span>/<span v-text="limit"></span>
</div>
</div>
Expand Down

0 comments on commit 413e4f2

Please sign in to comment.