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
 Top bar content squeezed into a narrow column on the right, sidebar toggle out of view  Top bar uses the full width, breadcrumb on one line

Mobile (390px), RTL

Before After
 Top bar content squeezed into a narrow column on the left, sidebar toggle out of view  Top bar uses the full width, breadcrumb on one line

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3635021

Command icon 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

maks oleksyuk created an issue. See original summary.

maks_oleksyuk’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new53.77 KB
new54.49 KB
new63.57 KB
new63.32 KB
mherchel’s picture

Status: Needs review » Postponed

Some 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.