Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[6.x]: A long link in a card's body overflows the text column and runs under the thumbnail

Đã đóng
#20,098 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@brianjhanson đang làm issue này rồi.

Từ ngày 26/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug repo:cms
What happened?

Steps to reproduce

  1. In the control panel, show an element as a card (e.g. an entry in a card view or relation field) whose card body displays a link with a very long address and no spaces, such as a long URL.
  2. Make sure the card has a thumbnail on the right.
  3. Look at the card.

Expected behavior

The link stays inside the text column. Craft already does this for the card title (.label-link), which is cut off with an ellipsis on one line.

Actual behavior

The link is neither truncated nor wrapped. It pushes out of the text column and runs behind the thumbnail.

The full link in the screenshot below is https://www.imdb.com/title/tt1674773/

Image
Craft CMS version

6.x-dev @ 16a41b5e99

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
Ngôn ngữ chính
PHP
Star
3.6k
Fork
710
Merge trung bình
12 giờ 19 phút
Pull request đã merge (30 ngày)
293

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của craftcms/cms

Tất cả issue của craftcms/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.