fix(compact-bar): remove duplicate padding (#1451)
This commit is contained in:
parent
9f777fbacc
commit
2241128c4f
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue