Skip to content

Commit

Permalink
refactor: don't right-align "Total"
Browse files Browse the repository at this point in the history
The bold fontface seems sufficient to set it apart. The extra alignment
feels noisy.
  • Loading branch information
lukehsiao committed Apr 19, 2024
1 parent 385c946 commit 1f80584
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ fn main() -> Result<()> {
table
.with(Style::empty())
.modify(Columns::new(1..=5), Alignment::right())
.modify(Rows::last(), Alignment::right())
.modify(
Rows::first(),
Format::content(|s| s.bold().underline().to_string()),
Expand Down

0 comments on commit 1f80584

Please sign in to comment.