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]: Status labels cut off in some contexts / widths in 'card view' #16325

Closed
iparr opened this issue Dec 12, 2024 · 2 comments
Closed

[5.x]: Status labels cut off in some contexts / widths in 'card view' #16325

iparr opened this issue Dec 12, 2024 · 2 comments
Assignees
Labels

Comments

@iparr
Copy link

iparr commented Dec 12, 2024

What happened?

Description

See screenshot:

Image

This is the candidate for improvement:

.card .card-content .card-body>:not(:has(>.no-truncate)) {
    --max-lines: 2;
    margin: 0;
    max-height: calc(var(--lh)* var(--max-lines));
}

Steps to reproduce

  1. Edit a document without saving so that 2x 'labels' appear
  2. Switch to 'card view' in entry listing
  3. Resize viewport to make the labels 'wrap'

Expected behavior

Not to hide.

Actual behavior

Craft CMS version

5.5.56.1

@iparr iparr added the bug label Dec 12, 2024
@brandonkelly brandonkelly self-assigned this Dec 14, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 5.5.7 is out with that fix. Thanks again!

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