palantir/blueprint

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

开放

#4,946 创建于 2021年10月3日

 (2 条评论) (2 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P3Package: coreType: bughelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南