From 771b3464358ebe7f2af412f90af406489c351444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?= Date: Tue, 19 May 2026 23:59:57 +0700 Subject: [PATCH] Make the column size response smoother --- src/popups/inspect_commit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/popups/inspect_commit.rs b/src/popups/inspect_commit.rs index 2dbfc367..a520e848 100644 --- a/src/popups/inspect_commit.rs +++ b/src/popups/inspect_commit.rs @@ -71,11 +71,11 @@ impl DrawableComponent for InspectCommitPopup { return Ok(()); } let constraints = match rect.width { - ..80 => [ + ..64 => [ Constraint::Percentage(50), Constraint::Percentage(50), ], - 80..100 => [Constraint::Max(32), Constraint::Fill(1)], + 64..100 => [Constraint::Max(32), Constraint::Fill(1)], 100..120 => [Constraint::Max(38), Constraint::Fill(1)], 120..152 => [Constraint::Max(42), Constraint::Fill(1)], _ => [Constraint::Max(50), Constraint::Fill(1)],