Skip to content

Commit

Permalink
Merge pull request #76 from tofubert/fix/help-popup-size
Browse files Browse the repository at this point in the history
fix: increase help popup size to accommodate all lines
  • Loading branch information
jrichardsen authored Jan 10, 2025
2 parents ae84ab0 + 044a60b commit 35ed05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl<Backend: NCBackend> App<'_, Backend> {
self.title.render_area(f, base_layout[0]);
if let Some(popup) = self.popup {
let (horizontal, vertical) = match popup {
Popup::Help => (Constraint::Length(130), Constraint::Length(12)),
Popup::Help => (Constraint::Length(130), Constraint::Length(14)),
Popup::Exit => (Constraint::Length(40), Constraint::Length(3)),
};
let [area] = Layout::horizontal([horizontal])
Expand Down

0 comments on commit 35ed05c

Please sign in to comment.