style: show character counter only when remaining chars < 500
This commit is contained in:
parent
f423b277cc
commit
d335d28056
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
</div>
|
||||
<div class="right">
|
||||
<span
|
||||
v-if="maxTextLength - textLength < 500"
|
||||
class="text-count"
|
||||
:class="{ over: textLength > maxTextLength }"
|
||||
>{{ maxTextLength - textLength }}</span
|
||||
|
|
Loading…
Reference in a new issue