palantir/blueprint

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

Open

#4946 aperta il 3 ott 2021

Vedi su GitHub
 (2 commenti) (2 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P3Package: coreType: bughelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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.

Guida contributor