krzmig / strelloids

Browser extension for Trello that adds new features.
MIT License
34 stars 6 forks source link

[Bug] Label text cropped #26

Open kazerniel opened 1 year ago

kazerniel commented 1 year ago

Describe the bug While a single label is assigned to a card, Strelloids turns the last 3 characters of the label into "..." in the main board view, leaving between 7 and 12 characters of the original label name. It leaves multiple-labelled cards alone.

This CSS seems to be the culprit:

.j7Rr8BmatF7PrC {
  display: inline-flex;
  max-width: calc(100% - 4px);
}

If I overwrite that max-width with unset in Stylus, it stops the cropping.

To Reproduce Steps to reproduce the behavior:

  1. Assign a single label with a 10+ characters name to a card
  2. See that the label gets cropped in the main board view

Expected behavior To not mess with the text length of my labels.

Browser details