Browse Source

DC: update editor UI

pull/18/head
Sun 4 years ago
parent
commit
3c8a44e75d
  1. 5
      lib/apps/file/editor.dart

5
lib/apps/file/editor.dart

@ -85,7 +85,7 @@ class _EditorPageState extends State<EditorPage> { @@ -85,7 +85,7 @@ class _EditorPageState extends State<EditorPage> {
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<EditorPage> { @@ -163,10 +163,11 @@ class _EditorPageState extends State<EditorPage> {
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,
)
),

Loading…
Cancel
Save