pad the start of the currentLength with zeroes such that it doesn't change physical size with larger input

This commit is contained in:
Oliver Bryan
2026-01-10 18:57:48 +00:00
parent 566fabccb5
commit d93d8de265

View File

@@ -44,7 +44,7 @@ function Input({
: "text-muted-foreground", : "text-muted-foreground",
)} )}
> >
{currentLength}/{maxLength} {String(currentLength).padStart(String(maxLength).length, "0")}/{maxLength}
</span> </span>
)} )}
</div> </div>