Opened 10 years ago
Closed 10 years ago
#36160 closed defect (bug) (fixed)
Comment content ul elements have no style in the Comment List Table or Moderate Comment screen
| Reported by: | rachelbaker | Owned by: | rachelbaker |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
In both the Moderate Comment and Comment List Table screens, moderators do not see any list-style formatting in comment content. The comment_content is displayed with the proper unordered list markup, but are displayed with a list-style: none CSS rule.
- in the above screenshots the following text is an unordered list:
<ul> <li>As you wish.<li> <li>Ye-ha!</li> <li>Don't underestimate the Force.</li> <li>Hokey religions and ancient weapons are no match for a good blaster at your side, kid. I have traced the Rebel spies to her. Now she is my only link to finding their secret base.</li> </ul>
Attachments (3)
Change History (11)
#3
in reply to: ↑ 2
@
10 years ago
Replying to juanfra:
If we are ok with this solution I'll happily send a patch with the rtl and minified versions.
No need to patch minified or RTL files, a build task takes care of that.
#6
@
10 years ago
In 36160.3.patch I applied the same ul style rules from 36160-2.patch to the Moderate Comment screen as well.
Screenshots:
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)




This is because the default styles for
olis (wp-admin/css/common.css):ol { list-style-type: decimal; margin-left: 2em; }While the default for
ulis:ul { list-style: none; }The following code makes the trick, but I'm not sure if we're missing some place as it is applied only on the comment table:
.widefat .column-comment ul { list-style: initial; margin-left: 2em; }If we are ok with this solution I'll happily send a patch with the rtl and minified versions.
P.S.: It seems that in Twenty Fifteen the lists within comments are not styled that well: https://cloudup.com/cIW-Bka8Lba (I'll open a new ticket for this one)