Opened 9 months ago
Closed 7 months ago
#21863 closed defect (bug) (fixed)
box-sizing breaks some admin-bar elements
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Toolbar | Version: | 3.5 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: |
Description
If I do something like * { box-sizing: border-box; } in my theme, it breaks some of the admin-bar elements — the stats item in particular is affected. This is easily fixed by forcing everything in #wpadminbar to box-sizing: content-box.
Attachments (2)
Change History (7)
comment:2
SergeyBiryukov — 9 months ago
See CSS Coding Standards for the preferred formatting.
comment:3
SergeyBiryukov — 9 months ago
- Component changed from Administration to Toolbar
- Keywords commit added
[21863.2.patch] seems to work for me, didn't notice anything broken without it in core items but definitely see the inconsistencies and potential for breakage.
Note: See
TracTickets for help on using
tickets.

Adds box-sizing: content-box to everything in #wpadminbar