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(
|
gradient: LinearGradient(
|
||||||
begin: Alignment.topCenter,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomCenter,
|
end: Alignment.bottomCenter,
|
||||||
stops: const [0.0, 0.6, 1.0],
|
stops: const [0.0, 0.4, 1.0],
|
||||||
colors: [
|
colors: [
|
||||||
theme.scaffoldBackgroundColor,
|
theme.scaffoldBackgroundColor,
|
||||||
theme.scaffoldBackgroundColor.withValues(
|
theme.scaffoldBackgroundColor.withValues(
|
||||||
|
|||||||
@@ -1279,7 +1279,7 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
|
|||||||
Spacing.inputPadding,
|
Spacing.inputPadding,
|
||||||
0,
|
0,
|
||||||
Spacing.inputPadding,
|
Spacing.inputPadding,
|
||||||
0,
|
Spacing.sm,
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
@@ -1421,9 +1421,9 @@ class _ModernChatInputState extends ConsumerState<ModernChatInput>
|
|||||||
final bottomPadding = MediaQuery.of(context).viewPadding.bottom;
|
final bottomPadding = MediaQuery.of(context).viewPadding.bottom;
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.fromLTRB(
|
padding: EdgeInsets.fromLTRB(
|
||||||
Spacing.sm,
|
Spacing.screenPadding,
|
||||||
0,
|
0,
|
||||||
Spacing.sm,
|
Spacing.screenPadding,
|
||||||
bottomPadding + Spacing.md,
|
bottomPadding + Spacing.md,
|
||||||
),
|
),
|
||||||
child: shell,
|
child: shell,
|
||||||
|
|||||||
Reference in New Issue
Block a user