Navigation: Replace arrow with chevron#30180
Conversation
|
Size Change: +68 B (0%) Total Size: 1.41 MB
ℹ️ View Unchanged
|
mkaz
left a comment
There was a problem hiding this comment.
Looks good 👍
I tested the change before and after and see the updated icon and no side effects.
Looking at the code the change to margin: 0 for the navigation link raised an eyebrow, just because it is more than an icon change, and potential for a different visual change, though
I didn't notice anything.
Yes, in a recent PR I introduced a horizontal margin between menu items, which would allow the vertical sibling inserter to work. However thar margin bled into submenus, which it shouldn't. Not visible in most cases, but it was a small thing. Thanks Marcus. |
Description
This PR replaces the navigation block submenu triangle with a chevron. Before:
After:
Whether the triangle or the chevron is a subject of taste, hwoever the chevron brings with it a few themer benefits. Specifically, it is an SVG with two strokes and a stroke-width. Which means a theme can:
In that vein, the chevron SVG shape is to an extent more flexible.
How has this been tested?
Please test navigation blocks with custom submenus, and with page list, and on the navigation screen. Verify the chevron looks right.
Checklist: