diff --git a/lib/app/components/screen_offset/screen_side_offset.dart b/lib/app/components/screen_offset/screen_side_offset.dart index ec818e0ae..e13232578 100644 --- a/lib/app/components/screen_offset/screen_side_offset.dart +++ b/lib/app/components/screen_offset/screen_side_offset.dart @@ -47,9 +47,8 @@ class ScreenSideOffset extends StatelessWidget { @override Widget build(BuildContext context) { - // TODO: replace with Padding - return Container( - margin: only != null + return Padding( + padding: only != null ? only == ScreenOffsetSide.left ? EdgeInsets.only(left: margin) : EdgeInsets.only(right: margin)