Cap width of timeline events

This commit is contained in:
Shawn 2022-10-25 00:27:19 -06:00
parent 85819bb7d5
commit 6dace83bd2

View File

@ -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,
),
),
),
),