fix: add horizontal padding to prevent choice animation cutoff (#5032)
This commit is contained in:
parent
a6b522529d
commit
178003dfa2
2 changed files with 5 additions and 4 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue