From de49f8fbc7d23880c5d56c9522516337778482a7 Mon Sep 17 00:00:00 2001 From: Musselman Date: Thu, 30 Nov 2023 03:12:04 -0600 Subject: [PATCH] Improve editor usability on phone --- templates/edit.html | 194 +++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 109 deletions(-) diff --git a/templates/edit.html b/templates/edit.html index 01d65a3..d484d9a 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -3,10 +3,8 @@ Edit File - - + + @@ -18,7 +16,6 @@ opacity: 45%; } - [contenteditable]:focus { outline: 0px solid transparent; } @@ -43,102 +40,78 @@
- - - - - + + + + + + + +
+ + +
- - - - + + - - - - - + +
- - + +
- +
-
-
- +
+
+ + +
+ {{.FileContent}}
-
-
-
- - - -
- {{.FileContent}}
- -
-
+
- - + .catch(error => { + console.error("Error deleting file:", error); + }); + } + + - \ No newline at end of file +