TF-551 Fix left margin EmailView on desktop

This commit is contained in:
dab246
2022-06-21 12:25:33 +07:00
committed by Dat H. Pham
parent f1888bdde3
commit 83d2af518f
@@ -60,8 +60,12 @@ class EmailView extends GetView with NetworkConnectionMixin {
border: Border.all(color: AppColor.colorBorderBodyThread, width: 1),
color: Colors.white)
: null,
margin: responsiveUtils.isDesktop(context) ? const EdgeInsets.all(16) : EdgeInsets.zero,
padding: responsiveUtils.isDesktop(context) ? const EdgeInsets.only(top: 5, bottom: 5, left: 5, right: 3) : EdgeInsets.zero,
margin: responsiveUtils.isDesktop(context)
? const EdgeInsets.only(right: 16, top: 16, bottom: 16)
: EdgeInsets.zero,
padding: responsiveUtils.isDesktop(context)
? const EdgeInsets.only(top: 5, bottom: 5, left: 5, right: 3)
: EdgeInsets.zero,
child: Column(children: [
_buildAppBar(context),
if (responsiveUtils.isDesktop(context)) const SizedBox(height: 5),