palantir/blueprint

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

Open

#4,946 建立於 2021年10月3日

在 GitHub 查看
 (2 留言) (2 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
P3Package: coreType: bughelp wanted

描述

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.

貢獻者指南

UGLY: Breadcrumbs that have more than one word, start to wrap · palantir/blueprint#4946 | Good First Issue