palantir/blueprint

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

オープン

#4,946 opened on 2021/10/03

 (2 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
P3Package: coreType: bughelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

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.

コントリビューターガイド