shrink spancard width to not overflow screen

This commit is contained in:
ggurdin 2024-10-14 11:13:20 -04:00
parent 6a96811076
commit 8e204c95e4
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
2 changed files with 3 additions and 3 deletions

View file

@ -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,
);
}

View file

@ -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,
);