aadeshkulkarni / figuringout

Blogging + Social Media + AI | Opensource | Javascript | ReactJS | HonoJS | Prisma
https://figuringout.life
MIT License
72 stars 78 forks source link

Long post titles get cut-off #215

Closed debopriyobasu closed 6 days ago

debopriyobasu commented 1 week ago

Where is the issue? When the user clicks on the story and the story opens, the title is cut-off. Here is a a screenshot:

Screenshot 2024-06-26 at 9 12 45 PM

Possible solutions:

  1. We can either remove the line-clamp-4 class to remove the limit, as ideally, when the user opens a story, the entire title should be displayed, or the user misses the context.
  2. A better solution would be to limit the user to create post titles up to a specific character limit.

I am open to discussion regarding any better solution to this.

aadeshkulkarni commented 1 week ago

Let's go with option 2, limiting the character count.

Would you like to pick this for dev ?

debopriyobasu commented 1 week ago

Let's go with option 2, limiting the character count.

Would you like to pick this for dev ?

Yes, sure! Let's decide on the character/word count.

aadeshkulkarni commented 1 week ago

Assigned it to you, @debopriyobasu

Please go through the contributing.md once before starting dev.