diff --git a/frontend/appflowy_flutter/lib/plugins/database/widgets/setting/setting_property_list.dart b/frontend/appflowy_flutter/lib/plugins/database/widgets/setting/setting_property_list.dart index fd8958cea6..97a0cf1299 100644 --- a/frontend/appflowy_flutter/lib/plugins/database/widgets/setting/setting_property_list.dart +++ b/frontend/appflowy_flutter/lib/plugins/database/widgets/setting/setting_property_list.dart @@ -15,7 +15,6 @@ import 'package:flowy_infra/theme_extension.dart'; import 'package:flowy_infra_ui/flowy_infra_ui.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:styled_widget/styled_widget.dart'; class DatabasePropertyList extends StatefulWidget { const DatabasePropertyList({ @@ -86,7 +85,7 @@ class _DatabasePropertyListState extends State { .add(DatabasePropertyEvent.moveField(from, to)); }, onReorderStart: (_) => _popoverMutex.close(), - padding: const EdgeInsets.symmetric(vertical: 6.0), + padding: const EdgeInsets.symmetric(vertical: 4.0), children: cells, ); }, @@ -138,8 +137,9 @@ class _DatabasePropertyCellState extends State { constraints: BoxConstraints.loose(const Size(240, 400)), triggerActions: PopoverTriggerFlags.none, margin: EdgeInsets.zero, - child: SizedBox( + child: Container( height: GridSize.popoverItemHeight, + margin: const EdgeInsets.symmetric(vertical: 2, horizontal: 6), child: FlowyButton( hoverColor: AFThemeExtension.of(context).lightGreyHover, text: FlowyText.medium( @@ -192,7 +192,7 @@ class _DatabasePropertyCellState extends State { icon: visibleIcon, ), onTap: () => _popoverController.show(), - ).padding(horizontal: 6.0), + ), ), popupBuilder: (BuildContext context) { return FieldEditor(