Opened 4 years ago
Last modified 4 years ago
#55509 new defect (bug)
CSS conflict in Custom Fields table
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 5.9.1 |
| Component: | Editor | Keywords: | has-patch |
| Focuses: | css | Cc: |
Description
When using the βCustom Fields feature, there are two conflicting CSS styles.
More specifically the background-color in the following CSS bit:
#postcustomstuff table {
margin: 0;
width: 100%;
border: 1px solid #dcdcde;
border-spacing: 0;
background-color: #f6f7f7;
}
with the background-color in the following CSS bit:
.alternate, .striped > tbody > :nth-child(2n+1), ul.striped > :nth-child(2n+1) {
background-color: #f6f7f7;
}
resulting in all rows of the table in div#postcustomstuff to have the same background color (#f6f7f7)
Change History (2)
This ticket was mentioned in βPR #2645 on βWordPress/wordpress-develop by βn-langle.
4 years ago
#2
- Keywords has-patch added
ticket: https://core.trac.wordpress.org/ticket/55509
Trac ticket:
Note: See
TracTickets for help on using
tickets.
I only noticed the
alternateclass in the block editor, though the Custom Fields table is also in the Classic editor. The background colors are defined in edit.css and common.css (wp-admin).The next-darkest gray is
#f0f0f1.