fix(chat): Adjust input and padding spacing for better UI layout
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user