Skip to content

Commit 31f0501

Browse files
committed
Bump to v0.3.7 and adjust usage card spacing
Updates the crate version to 0.3.7 and increases the calculated height for usage cards in the UI. This gives the usage section more vertical space at both wide and narrow terminal widths to avoid cramped rendering.
1 parent 8a7f946 commit 31f0501

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "comon"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
edition = "2021"
55
license = "Apache-2.0"
66

src/ui/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ fn render_usage(frame: &mut Frame<'_>, area: Rect, state: &AppState) {
246246

247247
fn usage_cards_height(width: u16) -> u16 {
248248
if width >= 150 {
249-
7
249+
8
250250
} else {
251-
15
251+
17
252252
}
253253
}
254254

0 commit comments

Comments
 (0)