Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
fix(Post): Remove horizontal overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moverval committed Jan 4, 2024
1 parent ef3d15e commit 2b604dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/components/Post.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ class Post extends StatelessWidget {
SizedBox(
height: MediaQuery.of(context).size.width,
width: MediaQuery.of(context).size.width,
child: FittedBox(
fit: BoxFit.cover,
child: image,
child: ClipRect(
child: FittedBox(
fit: BoxFit.cover,
child: image,
),
),
),
Padding(
Expand Down

0 comments on commit 2b604dc

Please sign in to comment.