mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
chart tweaks for windows (#2626)
This commit is contained in:
parent
e4c6336bd4
commit
f0b7ab5ecc
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,7 @@ impl<'a> BarChart<'a> {
|
|||
ui.draw(|f| {
|
||||
let chunks = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
.margin(2)
|
||||
.margin(0)
|
||||
.constraints([Constraint::Percentage(100)].as_ref())
|
||||
.split(f.size());
|
||||
|
||||
|
@ -134,6 +134,7 @@ impl<'a> BarChart<'a> {
|
|||
.bar_style(Style::default().fg(Color::Green))
|
||||
.value_style(
|
||||
Style::default()
|
||||
.fg(Color::Black)
|
||||
.bg(Color::Green)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue