瀏覽代碼

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

Nathan.fooo 1 年之前
父節點
當前提交
4ce94a9ceb

+ 4 - 2
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(
     return BlocProvider.value(
       value: _cellBloc,
       value: _cellBloc,
       child: BlocBuilder<ChecklistCardCellBloc, ChecklistCellState>(
       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),
+        ),
       ),
       ),
     );
     );
   }
   }