Skip to content

Commit

Permalink
fix: Prevent badge text from wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
gnapse committed Jan 3, 2024
1 parent 0991d82 commit 9d1ac97
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Reactist follows [semantic versioning](https://semver.org/) and doesn't introduce breaking changes (API-wise) in minor or patch releases. However, the appearance of a component might change in a minor or patch release so keep an eye on redesigns and make sure your app still looks and feels like you expect it.

# v22.3.2

- [Fix] Text inside a `Badge` no longer wraps into multiple lines.

# v22.3.1

- [Tweak] Increase showing tooltip delay to 1 second from 500ms
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "http://doist.com"
},
"version": "22.3.1",
"version": "22.3.2",
"license": "MIT",
"homepage": "https://github.com/Doist/reactist#readme",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions src/badge/badge.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
color: var(--reactist-badge-tint);
background-color: var(--reactist-badge-fill);
line-height: calc(var(--reactist-badge-font-size) + 3px);
white-space: nowrap;
}

.badge-info {
Expand Down

0 comments on commit 9d1ac97

Please sign in to comment.