amphinomid / liar

Silly little (now-defunct) web game

Home Page:https://liar-ga.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate username: add character limit to prevent overflow

amphinomid opened this issue · comments

commented
commented

In addition to checking this condition, it would probably be good to add an informative error message (you can modify the current one, which only displays the "alphanumeric" requirement)

I would like to work on that. To work further I need to know about the max character limit!!
Is it my choice to make the max character limit?

commented

Awesome, thanks! And yup, it's your choice! (If you want, you can also change the CSS to make the font smaller)

Welcome!. I have a question. Do you want to prevent this overflow?
image

commented

Yeah! Ideally everything should fit neatly into the box. Also if you have other ideas for how to implement this (besides character limit / font size / some combination of different methods) feel free to take it in whatever direction you want!

Okay. Thanks for the detailed explanation. 😀