[5.x]: Misalignment in entry indexes with icons and thumbnails
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
In the latest alpha versions of Craft 5 there is either an icon, a thumbnail, or nothing before the entry titles in entry indexes, depending on the entry type settings.
This is nice and helpful for scanning the table (although I have my reservations for asset thumbnails appearing by default, because of the delay they cause).
What could be improved is the alignment between titles when there is a mix of the above cases (icon, thumbnail, no content):
This is not merely a matter of aesthetics; it makes it harder to read the table and easy to misread the hierarchy of entries, because entries with a larger title indent appear visualy to be nested under entries with smaller or zero indent.
I'm not sure how you would want to solve this. A possible fix would be to use the largest indent for all entries in a current view.
Craft CMS version
5.0.0-alpha.13
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Craft 5 entry indexes using a mix of entries with icons, thumbnails, and no preceding content. Compare title indentation and hierarchy across the table; done means titles remain consistently aligned regardless of entry type settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100