Skip to content

Commit 3faa2ff

Browse files
committed
fix(ui): adjust report content bottom sheet layout
- Remove outer SafeArea widget - Swap SafeArea and Padding widgets - Ensure proper spacing and safe area handling for bottom sheet content
1 parent a77605d commit 3faa2ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/user_content/reporting/view/report_content_bottom_sheet.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ class _ReportContentBottomSheetState extends State<ReportContentBottomSheet> {
122122
final textTheme = theme.textTheme;
123123
final reasons = _getReasons(l10n);
124124

125-
return SafeArea(
126-
child: Padding(
127-
padding: EdgeInsets.fromLTRB(
128-
AppSpacing.lg,
129-
AppSpacing.lg,
130-
AppSpacing.lg,
131-
AppSpacing.lg + MediaQuery.of(context).viewInsets.bottom,
132-
),
125+
return Padding(
126+
padding: EdgeInsets.fromLTRB(
127+
AppSpacing.lg,
128+
AppSpacing.lg,
129+
AppSpacing.lg,
130+
AppSpacing.lg + MediaQuery.of(context).viewInsets.bottom,
131+
),
132+
child: SafeArea(
133133
child: SingleChildScrollView(
134134
child: Column(
135135
mainAxisSize: MainAxisSize.min,

0 commit comments

Comments
 (0)