소스 검색

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