OpenSlides / openslides-client

Webclient for OpenSlides 4+
MIT License
3 stars 33 forks source link

Fix too long name in mat-chip #3961

Open Elblinator opened 3 months ago

Elblinator commented 3 months ago

Describe the bug If a name in a mat-basic-chip is too long then the name vanishes behind a motion Screenshot_20240801_113212

How to Reproduce

  1. create participant with a long name
  2. create a structure level with a long name and add the structure level to the participant
  3. navigate to settings > motions
  4. activate "Activate the selection field 'motion editor'" and "Activate the selection field 'spokesperson'"
  5. navigate to motion-list > motion-detail-view
  6. add your participant as submitter, editor and spokesperson

Expected behaviour: The name should be completely visible and the mat-chip should expand downwards

reiterl commented 2 months ago

Simple why to reproduce it:

  1. Create a participant with very long Given name.
  2. Create a motion.
  3. Add the participant as submitter

I don't have a quick solution here. The mat-chips use ellipsis and no-wrap and the desktop-left,desktop-right classes used here don't restrict the size of the mat-chips.