From 178003dfa25bb24a9f6bbae037296f2c97a58ec5 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Fri, 2 Jan 2026 11:09:37 -0500 Subject: [PATCH] fix: add horizontal padding to prevent choice animation cutoff (#5032) --- lib/pangea/choreographer/igc/span_card.dart | 2 +- lib/pangea/common/widgets/pressable_button.dart | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/pangea/choreographer/igc/span_card.dart b/lib/pangea/choreographer/igc/span_card.dart index 4367766d0..4bfdd4941 100644 --- a/lib/pangea/choreographer/igc/span_card.dart +++ b/lib/pangea/choreographer/igc/span_card.dart @@ -157,7 +157,7 @@ class SpanCardState extends State { child: SingleChildScrollView( controller: scrollController, child: Padding( - padding: const EdgeInsets.symmetric(vertical: 12.0), + padding: const EdgeInsets.all(12.0), child: Column( spacing: 12.0, children: [ diff --git a/lib/pangea/common/widgets/pressable_button.dart b/lib/pangea/common/widgets/pressable_button.dart index 87bbb837e..04fc8ffd7 100644 --- a/lib/pangea/common/widgets/pressable_button.dart +++ b/lib/pangea/common/widgets/pressable_button.dart @@ -166,9 +166,10 @@ class PressableButtonState extends State mainAxisSize: MainAxisSize.min, children: [ SizedBox( - height: _depressed - ? widget.buttonHeight - : _tweenAnimation.value), + height: _depressed + ? widget.buttonHeight + : _tweenAnimation.value, + ), Container( decoration: BoxDecoration( color: shadowColor,