refactor(examples): add missing margin at the bottom of the header of table in the demo

This commit is contained in:
Florian Dehau 2020-11-29 22:39:39 +01:00
parent f933d892aa
commit 117098d2d2

View file

@ -319,7 +319,8 @@ where
let table = Table::new(rows)
.header(
Row::new(vec!["Server", "Location", "Status"])
.style(Style::default().fg(Color::Yellow)),
.style(Style::default().fg(Color::Yellow))
.bottom_margin(1),
)
.block(Block::default().title("Servers").borders(Borders::ALL))
.widths(&[