Opened 8 years ago
Closed 8 years ago
#36568 closed defect (bug) (fixed)
The Content of a Link is too Long in Comments Page
Reported by: | zjhzxhz | Owned by: | rachelbaker |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | 4.5 |
Component: | Comments | Keywords: | has-patch has-screenshots commit |
Focuses: | ui, administration | Cc: |
Description
If there's a link in a comment, the link will be displayed in comments page in backend.
For example I have a coment:
Suppose a [link](http://VeryVeryLongUrl.VeryVeryLongUrl) have very long url and other content.
And the content of comment will be displayed as the screenshot below.
A way to fix it is add overflow: hidden;
for #the-comment-list td.comment
class in CSS.
Attachments (2)
Change History (10)
#1
@
8 years ago
- Component changed from General to Comments
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
#3
@
8 years ago
It doesn't look like the word-break: break-all
is actually needed at all. In Chrome 51.0.2704.63 beta (64-bit), I see no difference with or without the patch.
Screenshot without patch: https://cloudup.com/cPwL4iSJScZ
@ocean90 Are you seeing something different?
Note: See
TracTickets for help on using
tickets.
Hello @zjhzxhz, thanks for your report. It seems like you have Akismet installed?
WordPress displays the link only on the moderate screen, see #36380. But I can confirm that the issue exists there too. Looks like we should add something like
word-break: break-all;
.