[6.x] Remove invisible "link" space that could be accidentally clicked#14040
Merged
jasonvarga merged 1 commit into6.xfrom Feb 23, 2026
Merged
Conversation
…clickable "link" space that could be accidentally clicked. As part of this only make the flexbox layout active when there are at least 2 children
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the Problem
While it's traditional to select entries using the left "checkbox" column, it's also possible—and convenient—to select entries using the white space available in the table rows.
(Select any of these red areas, and you can also select/deselect entries).

The problem is that parts of the title in the listings table contain "invisible" link space. For example, in this screenshot, if I click anywhere in the highlighted purple DOM, I will inadvertently be taken into the entry rather than selecting or deselecting the entry.

This is unexpected behaviour and it's caught me out a few times, especially with shorter titles where the accidental click area is larger.
What this PR Does
The behaviour above is caused by two things:
min/max widthvalues.min/maxhas limited utility within table elements, since they tend to naturally balance themselves out, layout-wise./users, where you have avatars and text, still work.How to Reproduce
cp/collections/somethingcp/userswhich contains avatarsBefore
This entire block contains a link to go to the entry
After, with the fix
You can see here the entry link wraps nicely around the text
