diff --git a/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart b/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart index d76b7bd4..74a83a25 100644 --- a/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart +++ b/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart @@ -168,11 +168,14 @@ class _BlogPostCreateScreenState extends State { width: shrinkImage ? 52 : MediaQuery.of(context).size.width - 32, curve: Curves.easeIn, duration: Duration(milliseconds: 150), - child: ClipRRect( - borderRadius: BorderRadius.circular(16), - child: Image( - image: FileImage( - File(state.image!.path), + child: ConstrainedBox( + constraints: BoxConstraints( + maxWidth: MediaQuery.of(context).size.width - 32, + ), + child: ClipRRect( + borderRadius: BorderRadius.circular(16), + child: Image( + image: FileImage(File(state.image!.path)), ), ), ), diff --git a/lib/features/bottom_navigation_bar/presentation/widgets/bottom_navigation_bar_widget.dart b/lib/features/bottom_navigation_bar/presentation/widgets/bottom_navigation_bar_widget.dart index ce8a8bca..787fe3c4 100644 --- a/lib/features/bottom_navigation_bar/presentation/widgets/bottom_navigation_bar_widget.dart +++ b/lib/features/bottom_navigation_bar/presentation/widgets/bottom_navigation_bar_widget.dart @@ -63,7 +63,7 @@ class _BottomNavigationBarWidgetState extends State { return Scaffold( body: widget.child, bottomNavigationBar: SizedBox( - height: 58, + height: 80, child: BottomNavigationBar( type: BottomNavigationBarType.fixed, onTap: _onItemTapped,