From 3c8a44e75d5d4f077f3502092495cb71f4cb1bf7 Mon Sep 17 00:00:00 2001 From: Sun Date: Wed, 20 Oct 2021 19:21:40 +0800 Subject: [PATCH] DC: update editor UI --- lib/apps/file/editor.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/apps/file/editor.dart b/lib/apps/file/editor.dart index 194518f..2403417 100644 --- a/lib/apps/file/editor.dart +++ b/lib/apps/file/editor.dart @@ -85,7 +85,7 @@ class _EditorPageState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Container( - width: 200.0, + width: 120.0, child: TextField( autofocus: true, style: TextStyle(fontSize: 16.0), @@ -163,10 +163,11 @@ class _EditorPageState extends State { Container( width: double.infinity, decoration: BoxDecoration(color: color.secondary), - padding: const EdgeInsets.all(10.0), + padding: const EdgeInsets.only(left: 10.0, right: 10.0, bottom: 5.0), child: QuillToolbar.basic( controller: this._controller!, showAlignmentButtons: true, + multiRowsDisplay: isDesktop, showLink: false, ) ),