diff --git a/src/uis/history.rs b/src/uis/history.rs index 54fee7a..2b87318 100644 --- a/src/uis/history.rs +++ b/src/uis/history.rs @@ -68,7 +68,7 @@ pub fn render_history_tab (f: &mut Frame, body_rect: Rect, app: & } let paragraph = Paragraph::new(lines.clone()) - .block(Block::default().borders(Borders::ALL)); + .block(Block::default().borders(Borders::ALL).title("Details").title_alignment(ratatui::layout::Alignment::Left)); f.render_widget(paragraph, split_body[1]);