From 534e65410de093aa0d9a6bf5f15767cef70462eb Mon Sep 17 00:00:00 2001 From: john4650-hub Date: Thu, 14 Sep 2023 06:31:46 +0300 Subject: [PATCH] fixed file not highlighting in recent y opened and improved ui for recently opened --- routines.sh | 3 ++- www/index.html | 4 ++-- www/js/components/main_FileEntry.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/routines.sh b/routines.sh index e833f86..bc28deb 100644 --- a/routines.sh +++ b/routines.sh @@ -1,4 +1,5 @@ git add . -git commit -m "now settings can be remembered on app start" +git commit -m "fixed file not highlighting in recent +y opened and improved ui for recently opened" git push diff --git a/www/index.html b/www/index.html index 27d1ebd..89dbda9 100644 --- a/www/index.html +++ b/www/index.html @@ -67,13 +67,13 @@
FILE SYSTEM -
+
Recent files
-
    +
      diff --git a/www/js/components/main_FileEntry.js b/www/js/components/main_FileEntry.js index 6ce466a..b13dcbd 100644 --- a/www/js/components/main_FileEntry.js +++ b/www/js/components/main_FileEntry.js @@ -112,7 +112,7 @@ export async function onDeviceReady() { function addRecentlyOpenedFile(name,url,ext) { let openedFile = makeElm('li') - insertAttr(['class=list-group-item'], openedFile) + insertAttr(['class=list-group-item bg-transparent'], openedFile) openedFile.innerText = name openedFile.addEventListener('click', function() { workWithFile(url) window.aceEditor.session.setMode(`ace/mode/${ext}`)