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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: add spacing between field buttons in setting popover (#4612)
Richard Shiuea9c6b80f4a08
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.dartindex 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<DatabasePropertyList> {.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<DatabasePropertyCell> {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<DatabasePropertyCell> {icon: visibleIcon,),onTap: () => _popoverController.show(),- ).padding(horizontal: 6.0),+ ),),popupBuilder: (BuildContext context) {return FieldEditor(