fix: Expanded the history item details size so that it can include all the available information for a given item; was previously being cut off on some screens

This commit is contained in:
2026-01-12 15:28:03 -07:00
parent 68b08d1cd7
commit 47fdee190a
18 changed files with 117 additions and 94 deletions
+2
View File
@@ -14,6 +14,7 @@ pub enum Size {
WideLargePrompt,
Message,
NarrowMessage,
NarrowLongMessage,
LargeMessage,
InputBox,
Dropdown,
@@ -35,6 +36,7 @@ impl Size {
Size::WideLargePrompt => (70, 50),
Size::Message => (25, 8),
Size::NarrowMessage => (50, 20),
Size::NarrowLongMessage => (50, 40),
Size::LargeMessage => (25, 25),
Size::InputBox => (30, 13),
Size::Dropdown => (20, 30),
+1
View File
@@ -12,6 +12,7 @@ mod tests {
assert_eq!(Size::WideLargePrompt.to_percent(), (70, 50));
assert_eq!(Size::Message.to_percent(), (25, 8));
assert_eq!(Size::NarrowMessage.to_percent(), (50, 20));
assert_eq!(Size::NarrowLongMessage.to_percent(), (50, 40));
assert_eq!(Size::LargeMessage.to_percent(), (25, 25));
assert_eq!(Size::InputBox.to_percent(), (30, 13));
assert_eq!(Size::Dropdown.to_percent(), (20, 30));