fix(chat): Adjust input and padding spacing for better UI layout

This commit is contained in:
cogwheel0
2025-12-11 16:57:53 +05:30
parent a2c20f7d1f
commit 4c80d9f521
2 changed files with 4 additions and 4 deletions

View File

@@ -2111,7 +2111,7 @@ class _ChatPageState extends ConsumerState<ChatPage> {
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
stops: const [0.0, 0.6, 1.0],
stops: const [0.0, 0.4, 1.0],
colors: [
theme.scaffoldBackgroundColor,
theme.scaffoldBackgroundColor.withValues(

View File

@@ -1279,7 +1279,7 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
Spacing.inputPadding,
0,
Spacing.inputPadding,
0,
Spacing.sm,
),
child: Row(
children: [
@@ -1421,9 +1421,9 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
final bottomPadding = MediaQuery.of(context).viewPadding.bottom;
return Padding(
padding: EdgeInsets.fromLTRB(
Spacing.sm,
Spacing.screenPadding,
0,
Spacing.sm,
Spacing.screenPadding,
bottomPadding + Spacing.md,
),
child: shell,