Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Entries field with multiple entries in tables should keep the 'chip' style #16771

Closed
JayBox325 opened this issue Feb 25, 2025 · 4 comments
Labels

Comments

@JayBox325
Copy link
Contributor

What happened?

Description

I have got a 'tags' field and it's quite important to display this in the table, but without the 'chip' style (background colour and padding) it's not very clear. I'd say when you display an entries field with multiple entries, it should be the 'chip' style. Or at least the height spacing should be resolved as there's currently too much space, as you can see here:

Image Image

This is a much better view:

Image

Craft CMS version

5.6.9.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for pointing that out. I’ve tightened up the styling for the next release.

@brandonkelly
Copy link
Member

Craft 5.6.11 is out with that fix. Thanks again!

@JayBox325
Copy link
Contributor Author

This looks much tidier, thanks!

Image

However, it may be harder to read, as you can see above, the different tags are quite close together and could be tricky to consume the information quickly as it may require more cognitive load to work out where one ends and the next one starts, especially if there's spaces in the content. Is it possible to bring the background and rounded edges back for the entries field like below?

Image

@brandonkelly
Copy link
Member

@JayBox325 Thanks for the pointers. Just improved further for the next release: (51b07b3)

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants