Skip to content

Us 71576 long titles in cards#1049

Merged
pnicolli merged 4 commits intomainfrom
us_71576_long_titles_in_cards
Dec 10, 2025
Merged

Us 71576 long titles in cards#1049
pnicolli merged 4 commits intomainfrom
us_71576_long_titles_in_cards

Conversation

@sabrina-bongiovanni
Copy link
Collaborator

@sabrina-bongiovanni sabrina-bongiovanni commented Nov 27, 2025

Managed long titles in all listing cards and cards in general:

  • SquaresImageTemplate.jsx --> also cut title and added ellipsis: the square has a limit and the text would either overflow horizontally if no break-word is set, or vertically if the text is not cut. Using text-overflow only adds ellipsis on all lines while keeping the text overflowing vertically. It does not make sense to allow a long text to be shown there.
  • gridGalleryTemplate.scss --> the text is "hidden" if it's too long. Now it won't overflow horizontally, words will break and occupy the entire surface if the text is very long, but any excess text is hidden

property hyphens allows to signal that there's a word and line break instead of just breaking it without any sings

nb verified with other languages too

@sabrina-bongiovanni sabrina-bongiovanni self-assigned this Nov 27, 2025
@sabrina-bongiovanni sabrina-bongiovanni added the bug Something isn't working label Nov 27, 2025
@deodorhunter
Copy link

@sabrina-bongiovanni in linea generale mi torna, ti chiedo se hai provato con risoluzioni ad alto zoom (200%-300%) per accessibilità.

@sabrina-bongiovanni
Copy link
Collaborator Author

@sabrina-bongiovanni in linea generale mi torna, ti chiedo se hai provato con risoluzioni ad alto zoom (200%-300%) per accessibilità.

image

mi sembra ok

@pnicolli pnicolli merged commit 4f94903 into main Dec 10, 2025
6 checks passed
@pnicolli pnicolli deleted the us_71576_long_titles_in_cards branch December 10, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants