#53521 closed defect (bug) (fixed)
On WP 5.8-beta4-51243 Site Health Status screen elements cannot be collapsed!
| Reported by: | alanjacobmathew | Owned by: | Clorith |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8 |
| Component: | Site Health | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui, css |
Change History (6)
#2
@
5 years ago
- Version → 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
@
5 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.
5 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

Thanks @alanjacobmathew, moving to investigate.