shrink spancard width to not overflow screen
This commit is contained in:
parent
6a96811076
commit
8e204c95e4
2 changed files with 3 additions and 3 deletions
|
|
@ -124,7 +124,7 @@ class IgcController {
|
|||
),
|
||||
roomId: choreographer.roomId,
|
||||
),
|
||||
cardSize: match.isITStart ? const Size(350, 260) : const Size(400, 400),
|
||||
cardSize: match.isITStart ? const Size(325, 260) : const Size(400, 400),
|
||||
transformTargetId: choreographer.inputTransformTargetKey,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,8 +114,8 @@ class PangeaTextController extends TextEditingController {
|
|||
context: context,
|
||||
cardSize: matchIndex != -1 &&
|
||||
choreographer.igc.igcTextData!.matches[matchIndex].isITStart
|
||||
? const Size(350, 260)
|
||||
: const Size(350, 400),
|
||||
? const Size(325, 260)
|
||||
: const Size(325, 400),
|
||||
cardToShow: cardToShow,
|
||||
transformTargetId: choreographer.inputTransformTargetKey,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue