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,6 +49,8 @@ class _EventPopupsState extends State<_EventPopups> {
], ],
key: ValueKey(_eventToShow?.year), key: ValueKey(_eventToShow?.year),
child: IntrinsicHeight( child: IntrinsicHeight(
child: SizedBox(
width: 600,
child: Padding( child: Padding(
padding: EdgeInsets.all($styles.insets.md), padding: EdgeInsets.all($styles.insets.md),
child: TimelineEventCard( child: TimelineEventCard(
@ -62,6 +64,7 @@ class _EventPopupsState extends State<_EventPopups> {
), ),
), ),
), ),
),
); );
} }
} }