TF-3939 Display minor action on menu in mobile view web responsive
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+3
-3
@@ -8,15 +8,15 @@ import 'package:tmail_ui_user/features/thread/domain/model/filter_message_option
|
||||
class DefaultWebAppBarThreadWidgetStyle {
|
||||
static const double buttonMaxWidth = 80;
|
||||
static const double titleOffset = 180;
|
||||
static const double minHeight = 56;
|
||||
static const double height = 56;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
|
||||
static EdgeInsetsGeometry getPadding(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isMobile(context) || responsiveUtils.isTabletLarge(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 12, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 12);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 24, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 24);
|
||||
}
|
||||
}
|
||||
static const EdgeInsetsGeometry mailboxMenuPadding = EdgeInsets.all(5);
|
||||
|
||||
+3
-3
@@ -5,7 +5,7 @@ import 'package:core/presentation/utils/theme_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SelectionWebAppBarThreadWidgetStyle {
|
||||
static const double minHeight = 56;
|
||||
static const double height = 56;
|
||||
static const double iconSize = 20;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
@@ -13,9 +13,9 @@ class SelectionWebAppBarThreadWidgetStyle {
|
||||
|
||||
static EdgeInsetsGeometry getPadding(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isMobile(context) || responsiveUtils.isTabletLarge(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 16);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 24, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 24);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user