Opened 4 years ago
Closed 4 years ago
#50788 closed defect (bug) (fixed)
"PHP Update Required" dashboard box title is right-aligned
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Administration | Keywords: | has-screenshots has-patch |
Focuses: | ui, css | Cc: |
Description
As noted by @TimothyBlynJacobs on Slack, the "PHP Update Required" title is now right-aligned.
This is a regression in trunk, see the screenshots.
Additionally:
- The "Learn more" button has some extra bottom padding, due to removing
!important
from here in [48129]:.postbox .inside > p:last-child, .rss-widget ul li:last-child { margin-bottom: 1px !important; }
- The vertical alignment on that button looks off.
Attachments (4)
Change History (8)
#2
@
4 years ago
Instead of adding more styles, I'd rather restore the removed !important
piece here, since it seems that could also affect other things.
Could we track down the commit that made the title right-aligned?
#3
@
4 years ago
The alignment is from [48373], using CSS flexbox on the heading for edit-box links.
.postbox-header .hndle { flex-grow: 1; /* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */ display: flex; justify-content: space-between; align-items: center; }
Note: See
TracTickets for help on using
tickets.
In WordPress 5.4