Problem/Motivation
On mobile devices, the breadcrumb bar appears in the middle of the page rather than on the side, due to the large padding, which causes the block to shift.
Steps to reproduce
1. Install 12.x, Standard profile. Navigation enabled, Default Admin as admin theme.
2. Log in, go to /admin/people/create.
3. Set viewport below 1024px (e.g. 390px). See the top bar.
Proposed resolution
Update the default_admin top bar styles to add the sidebar offset only on desktop.
Remaining tasks
- Review
User interface changes
The top bar no longer reserves space for the sidebar on mobile, so there is no horizontal scroll.
Mobile (390px), LTR
| Before | After |
|---|---|
![]() |
![]() |
Mobile (390px), RTL
| Before | After |
|---|---|
![]() |
![]() |
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | after-mobile-rtl.png | 63.32 KB | maks_oleksyuk |
| #3 | after-mobile-ltr.png | 63.57 KB | maks_oleksyuk |
| #3 | before-mobile-rtl.png | 54.49 KB | maks_oleksyuk |
| #3 | before-mobile-ltr.png | 53.77 KB | maks_oleksyuk |
Issue fork drupal-3635021
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:




Comments
Comment #3
maks_oleksyuk commentedComment #4
mherchelSome of this is being fixed in #3619154: Accessibility fixes for Admin theme's node add/edit sidebar toggle control, which touches a little bit of everything in the top bar. So postponing based on that.