浏览代码

[flutter]: force the editor as large as parent

appflowy 3 年之前
父节点
当前提交
89aceb098c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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),
       ),
     );
   }