From 974109ac396b30cf9eb06883386da906f1dc24c6 Mon Sep 17 00:00:00 2001 From: maaa Date: Sat, 22 Jun 2024 16:45:33 +0200 Subject: [PATCH] ;3 --- app/index.html | 2 +- static/css/style.css | 13 +++++++------ static/js/main.js | 1 + 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/index.html b/app/index.html index 3b40269..c430196 100644 --- a/app/index.html +++ b/app/index.html @@ -20,7 +20,7 @@
- +
diff --git a/static/css/style.css b/static/css/style.css index b825e8b..6a256a8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -162,12 +162,13 @@ body { /* Web app */ .topBar { position: fixed; - width: 100%; + right: 0; + width: calc(100% - 181px); height: 50px; - background-color: var(--bar); + background-color: rgba(0, 0, 0, 0); - border: solid; + border: none; border-color: var(--border-color); border-width: 0; border-bottom-width: 1px; @@ -289,7 +290,7 @@ body { font-size: 16px; cursor: pointer; margin-top: 5px; - background-color: var(--bar); + background-color: rgba(0, 0, 0, 0); border-radius: 8px; border: none; transition: 0.125s; @@ -403,11 +404,11 @@ body { .noteBox { position: fixed; right: 0; - top: 50px; + top: 35px; border: none; font-size: 16px; color: var(--text-color); - background-color: var(--editor); + background-color: rgba(0, 0, 0, 0); width: calc(100% - 200px); height: calc(100% - 50px - 30px); font-family: "Inter", sans-serif; diff --git a/static/js/main.js b/static/js/main.js index afdfb9b..452232d 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -448,6 +448,7 @@ function selectNote(nameithink) { let bytes = CryptoJS.AES.decrypt(responseData["content"], password); noteBox.value = bytes.toString(CryptoJS.enc.Utf8) + updateWordCount() renderMarkDown()