TF-3939 Display minor action on menu in mobile view web responsive

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-08-05 14:02:40 +07:00
committed by Dat H. Pham
parent 6c069d69f6
commit 2935b3217b
11 changed files with 24 additions and 484 deletions
@@ -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);
@@ -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);
}
}