fix: add horizontal padding to prevent choice animation cutoff (#5032)

This commit is contained in:
ggurdin 2026-01-02 11:09:37 -05:00 committed by GitHub
parent a6b522529d
commit 178003dfa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -157,7 +157,7 @@ class SpanCardState extends State<SpanCard> {
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: [

View file

@ -166,9 +166,10 @@ class PressableButtonState extends State<PressableButton>
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: _depressed
? widget.buttonHeight
: _tweenAnimation.value),
height: _depressed
? widget.buttonHeight
: _tweenAnimation.value,
),
Container(
decoration: BoxDecoration(
color: shadowColor,