Problem/Motivation
With the navigation module, the skip link element of olivero is a bit too short. It's not broken, just not aligned as before.
Steps to reproduce
- Use tab to get focus on "Skip to main content" in Olivero theme
- On screen sizes above 1570px, skip link is not covering full width
- See screenshot for reference.
Proposed resolution
Update the max with of "Skip to main content"
Remaining tasks
User interface changes
Before Patch

After patch

API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screenshot 2024-05-07 at 7.23.54 PM.png | 133.46 KB | gauravvvv |
| #6 | Screenshot 2024-05-06 at 11.34.41 AM.png | 142.24 KB | gauravvvv |
| Capture d’écran du 2024-05-05 08-32-20.png | 58.55 KB | nod_ |
Issue fork drupal-3445274
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3445274-navigation-module-offsets
changes, plain diff MR !7921
Comments
Comment #6
gauravvvv commentedAfter patch

Comment #7
nod_Comment #8
gauravvvv commentedComment #9
smustgrave commentedAs a visual issue lets add before/after screenshots to the issue summary.
Comment #10
gauravvvv commentedI have added before and after patch screenshot in issue summary.
Comment #11
smustgrave commentedShould be good practice
But before/after should be under User interface section
Also noticed that steps to reproduce and proposed resolution are empty. Other sections are probably fine.
Comment #12
gauravvvv commentedComment #13
smustgrave commentedComment #14
nod_This needs a default value for the css variable. If displace is not used on the page (no toolbar or navigation module) the skip link takes the whole width instead of the body width
Comment #15
gauravvvv commentedComment #16
smustgrave commentedDefault was added
Comment #22
nod_Committed and pushed 7ac4979e2e to 11.x and ccc368e015 to 11.0.x and 26aafb10e3 to 10.4.x and cc27b4df99 to 10.3.x. Thanks!