verbb / super-table

Super-charge your Craft workflow using Super Table.
MIT License
317 stars 47 forks source link

Long entry titles at the end of a row layout break the bounds #534

Closed gbowne-quickbase closed 1 year ago

gbowne-quickbase commented 1 year ago

Describe the bug

We are using the row view for a supertable where the last item is a link field referencing an entry, and if the entry title is very long, it does not wrap, but instead breaks out of the box, and flows into the last column of the page, often appearing UNDER the content there, where it cannot be change.

image

Steps to reproduce

  1. Create a supertable in with row view, and four to five fields, where the last is a link that can link to an entry
  2. Choose an entry whose name is very long (longer than 25% of the width of the main panel of the CP)
  3. See how the item breaks out.

Craft CMS version

4.5.3

Plugin version

3.0.9

Multi-site?

No

Additional context

We're using Pressed Digital's Linkit 4.0.4.1 for the link field. So the responsibility may fall to them? Looking at the DOM and the calculated CSS, the <div class="linkit"> does have overflow-wrap: break-word but it's not working. 🤔

gbowne-quickbase commented 1 year ago

Looks like we need to add wrap into that title span image

(without it) image

gbowne-quickbase commented 1 year ago

Turns out this is an issue with the Craft CP css. I've reported it over there. https://github.com/craftcms/cms/issues/13718