palantir/blueprint

UGLY: Breadcrumbs that have more than one word, start to wrap

Open

#4,946 opened on Oct 3, 2021

View on GitHub
 (2 comments) (2 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P3Package: coreType: bughelp wanted

Description

Environment

  • Package version(s): @blueprintjs/core@4.0.0-alpha.0
  • Operating System: Ubuntu 18.0.4
  • Browser name and version: Chrome 93.0.4577.82

Code Sandbox

https://codesandbox.io/s/unruffled-rosalind-54d8h

Steps to reproduce

  1. Drag container width resizing Slider until Breadcrumbs start to wrap

Actual behavior

Breadcrumbs wrap when they contain several words:

Screenshot from 2021-10-03 13-58-07

Expected behavior

Breadcrumbs shouldn't wrap

Possible solution

I tried to set white-space: nowrap onto separate breadcrumbs, however that breaks collapsing functionality.

Contributor guide