chore: fix overflow in construct notification (#2517)

pull/1817/head
ggurdin 7 months ago committed by GitHub
parent 327160c2a7
commit 4f604e598a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -219,8 +219,6 @@ class ConstructNotificationOverlayState
),
),
),
Row(
children: [
SizedBox(
width: constraints.maxWidth >= 600 ? 120.0 : 65.0,
child: Row(
@ -241,7 +239,11 @@ class ConstructNotificationOverlayState
L10n.of(context).details,
),
)
: IconButton(
: SizedBox(
width: 32.0,
height: 32.0,
child: Center(
child: IconButton(
icon: const Icon(
Icons.info_outline,
),
@ -252,7 +254,13 @@ class ConstructNotificationOverlayState
constraints: const BoxConstraints(),
),
),
Tooltip(
),
),
SizedBox(
width: 32.0,
height: 32.0,
child: Center(
child: Tooltip(
message: L10n.of(context).close,
child: IconButton(
icon: const Icon(
@ -265,11 +273,11 @@ class ConstructNotificationOverlayState
constraints: const BoxConstraints(),
),
),
],
),
),
],
),
),
],
),
),

Loading…
Cancel
Save