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

pull/425/head
Florian Dehau 4 years ago
parent f933d892aa
commit 117098d2d2

@ -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(&[

Loading…
Cancel
Save