New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken breadcrumbs for long asset folder paths #1834

Closed
efoken opened this Issue Mar 14, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@efoken

efoken commented Mar 14, 2018

Expected behaviour

The breadcrumbs in the Asset Manager should be scrollable or so. Something like: white-space: nowrap; overflow: scroll

Actual behaviour

In the Asset Manager, when the folder path gets longer and longer, there is a line-break in the breadcrumb navigation, which breaks the styling, because .asset-browser-content has a hard-coded padding of 29px at the bottom.

By the way, if you create a second asset container, the breadcrumb navigation styling also breaks. It overflows the .asset-browser container by the width of the sidebar.

Steps to reproduce

  1. Create a bunch of folders and subfolders with long names in your asset container
  2. Go to Assets in your CP
  3. Navigate to subfolders until the breadcrumbs break

Server Details

Operating System: macOS

PHP Version: 7.1.14

Statamic Version: 2.8.8

Updated from an older Statamic or fresh install: Updated

@jackmcdade

This comment has been minimized.

Member

jackmcdade commented Mar 29, 2018

Nice catch!

@jasonvarga jasonvarga closed this Mar 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment