#6336 closed defect (bug) (fixed)
Trac: Spacing for header navigation sub-menu arrow icons
Reported by: | sabernhardt | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | |
Cc: |
Description
On Trac, the dropdown icons for sub-menus are inside the <a>
element, but other WordPress sites add the icon span after <a>
. Because the links have padding, Trac does not give any space before the icon.
On #WP55874, @praful2111 shared a screenshot and gave a possible solution:
.core .wp-block-group.global-header .global-header__navigation .wp-block-navigation__container .wp-block-navigation-item.has-child a > span.wp-block-navigation__submenu-icon { width: 22px; }
Change History (5)
#2
@
2 years ago
- Owner set to dd32
- Status changed from new to accepted
This sounds like the Trac templates haven't been updated to reflect a change made in the global header.
I'll update the templates, let's see if that fixes this.
#5
@
2 years ago
- Resolution set to fixed
- Status changed from accepted to closed
It looks like r11900 has worked, it's still propagating to meta.trac though.
@praful2111 Yes, apologies, I should've prop'd you both in the above commit. I'll do that now and grant you the badge! (edit: Done! You'll see the above commit referenced on your profile & the meta-contributor badge)
Note: See
TracTickets for help on using
tickets.
Instead of setting the width, I think the adjacent sibling selector could help in this situation: