Updated layout

This commit is contained in:
KaraZajac
2026-02-21 10:40:40 -05:00
parent 9e90f88a15
commit 39944e072b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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)
];