mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-08 08:12:37 +01:00
fix: overflow in cute events
Signed-off-by: The one with the braid <the-one@with-the-braid.cf>
This commit is contained in:
parent
5d7be8a672
commit
922e7ad0ff
@ -36,8 +36,6 @@ class _CuteContentState extends State<CuteContent> {
|
|||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: addOverlay,
|
onTap: addOverlay,
|
||||||
child: SizedBox.square(
|
|
||||||
dimension: 300,
|
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -49,7 +47,6 @@ class _CuteContentState extends State<CuteContent> {
|
|||||||
if (label != null) Text(label)
|
if (label != null) Text(label)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@ -144,6 +141,7 @@ class _CuteEventOverlayState extends State<CuteEventOverlay>
|
|||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: constraints.maxHeight,
|
height: constraints.maxHeight,
|
||||||
width: constraints.maxWidth,
|
width: constraints.maxWidth,
|
||||||
|
child: OverflowBox(
|
||||||
child: Stack(
|
child: Stack(
|
||||||
alignment: Alignment.bottomLeft,
|
alignment: Alignment.bottomLeft,
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
@ -163,6 +161,7 @@ class _CuteEventOverlayState extends State<CuteEventOverlay>
|
|||||||
)
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user