feat(ui): Added title to history details pane
This commit is contained in:
parent
a8178abe84
commit
b4380f2125
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ pub fn render_history_tab<B: Backend> (f: &mut Frame<B>, 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]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue