Added lengthcounter to description

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-09 18:38:20 +01:00
parent 88d0eb2ef6
commit 4eec51e271
2 changed files with 6 additions and 1 deletions

View File

@@ -597,6 +597,11 @@ display: inline-flex;
background: white; background: white;
} }
#description_form div .character-counter{
margin-top: -30px;
color:black;
}
.spinner-white, .spinner-white-only { .spinner-white, .spinner-white-only {
border-color: white; border-color: white;
} }

View File

@@ -115,7 +115,7 @@
<li> <li>
<form id="description_form" style="display:none;"> <form id="description_form" style="display:none;">
<div class="input-field col s12"> <div class="input-field col s12">
<input type="text" placeholder="Description" name="chan_description" id="chan_description" autocomplete="off" /> <input type="text" placeholder="Description" name="chan_description" id="chan_description" autocomplete="off" maxlength="100" data-length="100" />
</div> </div>
</form> </form>
</li> </li>