fix(compact-bar): remove duplicate padding (#1451)

This commit is contained in:
a-kenji 2022-06-03 19:58:27 +02:00 committed by GitHub
parent 9f777fbacc
commit 2241128c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -189,7 +189,7 @@ fn tab_line_prefix(
let mode_part_styled_text = style!(text_color, bg_color).bold().paint(mode_part); let mode_part_styled_text = style!(text_color, bg_color).bold().paint(mode_part);
if cols.saturating_sub(prefix_text_len) >= mode_part_len { if cols.saturating_sub(prefix_text_len) >= mode_part_len {
parts.push(LinePart { parts.push(LinePart {
part: format!("({:^6})", mode_part_styled_text), part: format!(" {:^6} ", mode_part_styled_text),
len: mode_part_len, len: mode_part_len,
}) })
} }