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), key: ValueKey(_eventToShow?.year),
child: IntrinsicHeight( child: IntrinsicHeight(
child: Padding( child: SizedBox(
padding: EdgeInsets.all($styles.insets.md), width: 600,
child: TimelineEventCard( child: Padding(
text: evt.description, padding: EdgeInsets.all($styles.insets.md),
year: evt.year, child: TimelineEventCard(
text: evt.description,
year: evt.year,
),
), ),
), ),
), ),