Fixing footer

This commit is contained in:
Marco De Araujo 2025-12-25 11:05:56 -04:00
parent 063775425a
commit 44a1c2055e
2 changed files with 5 additions and 3 deletions

View file

@ -114,7 +114,7 @@ impl App {
.constraints([
Constraint::Length(3),
Constraint::Min(1),
Constraint::Length(1),
Constraint::Length(3),
])
.split(area);

View file

@ -14,11 +14,13 @@ pub fn render_footer(frame: &mut Frame, area: Rect) {
let footer = Paragraph::new(Span::styled(
datatime_str,
Style::default().fg(Color::Gray).add_modifier(Modifier::DIM),
Style::default()
.fg(Color::Gray)
.add_modifier(Modifier::BOLD),
))
.block(
Block::default()
.borders(Borders::TOP)
.borders(Borders::ALL)
.border_style(Style::default().fg(Color::Blue)),
)
.alignment(Alignment::Center);