Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: adding vertical padding for progress bar (#2753)

Nathan.fooo4ce94a9ceb05
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/checklist_card_cell.dart b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/checklist_card_cell.dart
index 639fa50913..132a59744d 100644
--- a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/checklist_card_cell.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/cells/checklist_card_cell.dart
@@ -32,8 +32,10 @@ class _ChecklistCardCellState extends State<ChecklistCardCell> {
return BlocProvider.value(
value: _cellBloc,
child: BlocBuilder<ChecklistCardCellBloc, ChecklistCellState>(
- builder: (context, state) =>
- ChecklistProgressBar(percent: state.percent),
+ builder: (context, state) => Padding(
+ padding: const EdgeInsets.symmetric(vertical: 4),
+ child: ChecklistProgressBar(percent: state.percent),
+ ),
),
);
}