chore: remove unnecessary spacing (#4132)

This commit is contained in:
ggurdin 2025-09-25 11:44:39 -04:00 committed by GitHub
parent f9d14a4f75
commit ffb2ec503f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,8 +87,6 @@ class MessageMorphInputBarContentState
: 4.0;
return Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
spacing: spacing,
children: [
Row(
@ -158,21 +156,20 @@ class MessageMorphInputBarContentState
},
).toList(),
),
Container(
constraints: BoxConstraints(
minHeight: overlay.maxWidth > 600 ? 20 : 34,
if (selectedTag != null)
Container(
constraints: BoxConstraints(
minHeight: overlay.maxWidth > 600 ? 20 : 34,
),
alignment: Alignment.center,
child: MorphMeaningWidget(
feature: morph,
tag: selectedTag!,
style: overlay.maxWidth > 600
? Theme.of(context).textTheme.bodyLarge
: Theme.of(context).textTheme.bodySmall,
),
),
alignment: Alignment.center,
child: selectedTag != null
? MorphMeaningWidget(
feature: morph,
tag: selectedTag!,
style: overlay.maxWidth > 600
? Theme.of(context).textTheme.bodyLarge
: Theme.of(context).textTheme.bodySmall,
)
: const SizedBox.shrink(),
),
],
);
}