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: config plugin display
appflowy0502eec71785
diff --git a/frontend/app_flowy/lib/workspace/presentation/home/home_stack.dart b/frontend/app_flowy/lib/workspace/presentation/home/home_stack.dartindex 8e249ab9c5..65e315f56d 100644--- a/frontend/app_flowy/lib/workspace/presentation/home/home_stack.dart+++ b/frontend/app_flowy/lib/workspace/presentation/home/home_stack.dart@@ -168,7 +168,7 @@ class HomeStackManager {index: getIt<PluginSandbox>().indexOf(notifier.plugin.ty),children: getIt<PluginSandbox>().supportPluginTypes.map((pluginType) {if (pluginType == notifier.plugin.ty) {- return notifier.plugin.display.buildWidget();+ return notifier.plugin.display.buildWidget().padding(horizontal: 40, vertical: 28);} else {return const BlankPage();}diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/document_page.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/document_page.dartindex 30b88e652f..031edb93fd 100644--- a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/document_page.dart+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/src/document_page.dart@@ -10,7 +10,6 @@ import 'package:flowy_sdk/protobuf/flowy-folder-data-model/view.pb.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';import 'package:provider/provider.dart';-import 'package:styled_widget/styled_widget.dart';import 'styles.dart';import 'widget/banner.dart';@@ -82,7 +81,7 @@ class _DocumentPageState extends State<DocumentPage> {_renderToolbar(controller),const VSpace(10),],- ).padding(horizontal: 40, top: 28),+ ),),],);diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/grid.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/grid.dartindex cf6b4c9032..b73970508c 100644--- a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/grid.dart+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/grid.dart@@ -28,7 +28,7 @@ class GridPluginBuilder implements PluginBuilder {class GridPluginConfig implements PluginConfig {@override- bool get creatable => false;+ bool get creatable => true;}class GridPlugin extends Plugin {diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/layout/sizes.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/layout/sizes.dartindex e833df5cc4..13f7200ceb 100755--- a/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/layout/sizes.dart+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/layout/sizes.dart@@ -10,7 +10,7 @@ class GridSize {static double get scrollBarSize => 12 * scale;static double get headerHeight => 50 * scale;- static double get rowHeight => 50 * scale;+ static double get rowHeight => 36 * scale;static double get footerHeight => 40 * scale;static double get firstHeaderPadding => 20 * scale;}