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.

[flutter]: force the editor as large as parent

appflowy89aceb098c11
diff --git a/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart b/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
index 805fdfcd7c..4ec7eda9e6 100644
--- a/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
+++ b/app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart
@@ -91,7 +91,7 @@ class _DocPageState extends State<DocPage> {
axis: Axis.vertical,
controller: scrollController,
barSize: 6.0,
- child: Padding(padding: EdgeInsets.zero, child: editor),
+ child: SizedBox.expand(child: editor),
),
);
}