Olivero: Mobile sub-navigation menus slightly offset subsequent menu links when hidden

Proposed solution:
Add margin: 0; to primary-nav__menu--level-2 class, when visibility: hidden;
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff-3_6.txt | 618 bytes | gauravvvv |
| #6 | 3213118-6.patch | 1.06 KB | gauravvvv |
| #5 | Olivero_Theme_Demonstration.png | 397.13 KB | mherchel |
| #4 | after-3.png | 67.17 KB | akhildev.cs |
| #4 | before-3.png | 118.48 KB | akhildev.cs |
Comments
Comment #2
gauravvvv commentedComment #3
sakthivel m commented#2 Please review the patch
Comment #4
akhildev.cs commentedhi,
#3 patch applied successfully, working fine for me. menu width in mobile view changed.
thankyou.
Comment #5
mherchelWow you have a really good eye to see this! I've looked at that menu so many times and never noticed.
One minor change.
You can replace these two lines with
margin-block: 0;Comment #6
gauravvvv commentedPatch updated as suggested in #5.
Interdiff attached. thanks
Comment #7
gauravvvv commentedComment #8
mherchelLooks perfect!
Comment #10
gauravvvv commentedUnrelated failure, moving back to RTBC
Comment #13
lauriiiCommitted 9a74649 and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!