From 6dace83bd23b3e68dd8a865e153cb8208427fd0c Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 25 Oct 2022 00:27:19 -0600 Subject: [PATCH] Cap width of timeline events --- lib/ui/screens/timeline/widgets/_event_popups.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/ui/screens/timeline/widgets/_event_popups.dart b/lib/ui/screens/timeline/widgets/_event_popups.dart index 70410351..e0ef74be 100644 --- a/lib/ui/screens/timeline/widgets/_event_popups.dart +++ b/lib/ui/screens/timeline/widgets/_event_popups.dart @@ -49,11 +49,14 @@ class _EventPopupsState extends State<_EventPopups> { ], key: ValueKey(_eventToShow?.year), child: IntrinsicHeight( - child: Padding( - padding: EdgeInsets.all($styles.insets.md), - child: TimelineEventCard( - text: evt.description, - year: evt.year, + child: SizedBox( + width: 600, + child: Padding( + padding: EdgeInsets.all($styles.insets.md), + child: TimelineEventCard( + text: evt.description, + year: evt.year, + ), ), ), ),