lovasoa / SQLpage

SQL-only webapp builder, empowering data analysts to build websites and applications quickly
https://sql.ophir.dev
MIT License
880 stars 62 forks source link

Page title trimmed or not visible. #446

Open amrutadotorg opened 1 week ago

amrutadotorg commented 1 week ago

Hi,

I've noticed an issue with the visibility of the menu on different screen sizes. In some cases, the page title is either not visible or gets trimmed.

You can see the issue here: learnsahajayoga.org

trimmed: Screenshot 2024-06-22 at 12 00 01

not visible: Screenshot 2024-06-22 at 11 59 47

lovasoa commented 1 week ago

What do you think would be the right behavior when the title is too long for everything to fit?

amrutadotorg commented 1 week ago

Instead of trimming long titles, which doesn't look good even with an added icon, SQLPage should always hide the title and use an icon or image when possible. This approach is similar to the one used on RhinoShield's website. Also it might be useful to mention that in the docs and encourage users to use icon/image. Screenshot 2024-06-22 at 12 33 21