Skip to content

Commit 370db4f

Browse files
committed
fix: center left the date cell of the grid
1 parent 2544aeb commit 370db4f

File tree

1 file changed

+5
-2
lines changed
  • frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/date_cell

1 file changed

+5
-2
lines changed

frontend/app_flowy/lib/plugins/grid/presentation/widgets/cell/date_cell/date_cell.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class _DateCellState extends GridCellState<GridDateCell> {
5858
Widget build(BuildContext context) {
5959
final alignment = widget.cellStyle != null
6060
? widget.cellStyle!.alignment
61-
: Alignment.center;
61+
: Alignment.centerLeft;
6262
return BlocProvider.value(
6363
value: _cellBloc,
6464
child: BlocBuilder<DateCellBloc, DateCellState>(
@@ -77,7 +77,10 @@ class _DateCellState extends GridCellState<GridDateCell> {
7777
cursor: SystemMouseCursors.click,
7878
child: Align(
7979
alignment: alignment,
80-
child: FlowyText.medium(state.dateStr, fontSize: 12),
80+
child: FlowyText.medium(
81+
state.dateStr,
82+
fontSize: 12,
83+
),
8184
),
8285
),
8386
),

0 commit comments

Comments
 (0)