#53521 closed defect (bug) (fixed)
On WP 5.8-beta4-51243 Site Health Status screen elements cannot be collapsed!
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Site Health | Keywords: | has-patch |
Focuses: | ui, css | Cc: |
Change History (6)
#1
@
4 years ago
- Component changed from General to Site Health
- Milestone changed from Awaiting Review to 5.8
#2
@
4 years ago
- Version set to trunk
Appears this is caused by the new grid-style layout of the Site Health widget content, the CSS rule for #dashboard_site_health .inside
is more specific than the .js .closed .inside
(id takes priority over classes).
A specific rule for the Site Health CSS will probably need to be made here to account for #dashboard_site_health.closed .inside
to apply the display: none
here as well.
#3
@
4 years ago
- Focuses css added
- Keywords needs-patch added
Yes, the grid layout competes with display: none
and wins.
Another option is editing the two selectors that specify grid layout to
#dashboard_site_health:not(.closed) .inside
This ticket was mentioned in PR #1439 on WordPress/wordpress-develop by walbo.
4 years ago
#4
- Keywords has-patch added; needs-patch removed
Create a wrapper around site health widget content that handles the css grid.
This fixes a problem with open/closing the widget because .inside
is used to close the widget, but the site health css overwrote the css used to hide it.
Trac ticket: https://core.trac.wordpress.org/ticket/53521
Thanks @alanjacobmathew, moving to investigate.