YoungVision-eV / website

https://youngvision.org
MIT License
3 stars 0 forks source link

Misaligned calendar entry highlighting on mobile #280

Open MrGreenTea opened 1 month ago

MrGreenTea commented 1 month ago

Screenshot_2024-07-16-09-49-16-913_org mozilla firefox

Han2-Ro commented 1 month ago

This is probably happening because the text is to long. Maybe we should enforce a maximum text length in payload

MrGreenTea commented 1 month ago

You're absolutely right, didn't even notice that. The component is designed for three lines of text on mobile.

I guess a character limit would be good to have for the design not to break completely. I'm not entirely certain what the relationship between character count and line count is though, because the browser tries to break sentences if needed which can cause a single long word to get it's own whole line. But that should at worst be an edge case.