Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
feat: show current character length on bio (#9855)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojangabric authored Dec 1, 2023
1 parent 18eae5b commit ae5f8ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pages/account/manage/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,10 @@ export default function Profile({ BASE_URL, profile, fileExists }) {
minLength="2"
maxLength="256"
/>
<p className="text-sm text-primary-medium-low dark:text-primary-low-high">
You can use Markdown syntax.
</p>
<div className="flex justify-between text-sm text-primary-medium-low dark:text-primary-low-high">
<p>You can use Markdown syntax.</p>
<p>{bio.length} / 256</p>
</div>
</div>

<div className="col-span-3 sm:col-span-4">
Expand Down

0 comments on commit ae5f8ef

Please sign in to comment.