Browse Source

[flutter]: force the editor as large as parent

appflowy 3 years ago
parent
commit
89aceb098c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app_flowy/lib/workspace/presentation/stack_page/doc/doc_page.dart

+ 1 - 1
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),
       ),
     );
   }