From 39944e072b4981a7b4150a77ecae1206ad28295c Mon Sep 17 00:00:00 2001 From: KaraZajac Date: Sat, 21 Feb 2026 10:40:40 -0500 Subject: [PATCH] Updated layout --- src/ui/captures_list.rs | 2 +- src/ui/layout.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/captures_list.rs b/src/ui/captures_list.rs index fc3c70c..a92cdd7 100644 --- a/src/ui/captures_list.rs +++ b/src/ui/captures_list.rs @@ -25,7 +25,7 @@ pub fn render_captures_list(frame: &mut Frame, area: Rect, app: &App) { .direction(Direction::Vertical) .constraints([ Constraint::Min(6), // Table (flexible, takes remaining) - Constraint::Length(12), // Detail panel (fixed height) + Constraint::Length(18), // Detail panel (signal + vulnerability; taller for multiple CVEs) ]) .split(area) } else { diff --git a/src/ui/layout.rs b/src/ui/layout.rs index 620ee9c..c12df6a 100644 --- a/src/ui/layout.rs +++ b/src/ui/layout.rs @@ -33,7 +33,7 @@ pub fn draw_ui(frame: &mut Frame, app: &App) { let main_area = frame.area(); let mut v_constraints = vec![ Constraint::Length(3), // Header (full width) - Constraint::Min(8), // Middle: captures + RX bar + Constraint::Min(26), // Middle: captures table + detail panel (signal + vulnerability) Constraint::Length(3), // Status bar (full width) Constraint::Length(1), // Help bar (full width) ];