Skip to content

Commit 988bf18

Browse files
committed
fix: fix detail screen card padding / margin
1 parent aca7445 commit 988bf18

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/features/achieved_detail/view/achieved_detail_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class AchievedDetailScreen extends StatelessWidget {
4848
],
4949
),
5050
body: Padding(
51-
padding: const EdgeInsets.only(top: 16, right: 16, left: 16),
51+
padding: const EdgeInsets.only(right: 16, left: 16),
5252
child: SingleChildScrollView(
5353
child: Column(
5454
children: const [

lib/features/achieved_detail/widget/achieved_detail_card.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class AchievedDetailCard extends StatelessWidget {
1212
Widget build(BuildContext context) {
1313
ThemeData theme = Theme.of(context);
1414
return Card(
15-
margin: EdgeInsets.zero,
15+
margin: const EdgeInsets.only(top: 16),
1616
child: BlocBuilder<AchievedDetailCubit, AchievedDetailState>(
1717
builder: (context, state) {
1818
final imagePath = state.wish.imagePath;

lib/features/wish_detail/view/wish_detail_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class WishDetailScreen extends StatelessWidget {
4141
}
4242
},
4343
child: Padding(
44-
padding: const EdgeInsets.only(top: 16, right: 16, left: 16),
44+
padding: const EdgeInsets.only(right: 16, left: 16),
4545
child: SingleChildScrollView(
4646
child: Column(
4747
children: const [

lib/features/wish_detail/widget/wish_detail_card.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class WishDetailCard extends StatelessWidget {
1212
Widget build(BuildContext context) {
1313
ThemeData theme = Theme.of(context);
1414
return Card(
15-
margin: EdgeInsets.zero,
15+
margin: const EdgeInsets.only(top: 16),
1616
child: BlocBuilder<WishBloc, WishState>(
1717
builder: (context, state) {
1818
final imagePath = state.wish.imagePath;

0 commit comments

Comments
 (0)