From de40b454de50e5994b8d6b2dfa53c63fb5710854 Mon Sep 17 00:00:00 2001 From: Amazingca Date: Fri, 1 May 2026 02:01:56 -0600 Subject: [PATCH] More styling stuff --- archived.html | 4 +++- archived.js | 2 +- index.html | 9 +-------- style.css | 8 ++++++++ 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/archived.html b/archived.html index c3e951d..1cf4e00 100644 --- a/archived.html +++ b/archived.html @@ -20,7 +20,9 @@
-
+
+

No archived todos for now...

+
diff --git a/archived.js b/archived.js index 1a9814d..9996c47 100644 --- a/archived.js +++ b/archived.js @@ -97,7 +97,7 @@ const applyListeners = () => { const hydrateTodos = () => { - archivedElement.innerHTML = archived + if (archived.length > 0) archivedElement.innerHTML = archived .map((x, index) => todoElement(x, index)) .join(""); diff --git a/index.html b/index.html index 4aa4a8f..915a938 100644 --- a/index.html +++ b/index.html @@ -22,14 +22,7 @@
diff --git a/style.css b/style.css index 04ccb70..2e83146 100644 --- a/style.css +++ b/style.css @@ -104,7 +104,11 @@ button { } #override_css { + font-family: monospace; + border-radius: 0.5rem; resize: vertical; + border: 0.25rem solid var(--background-tertiary); + background-color: var(--background-secondary); } a, a:visited, a:active { @@ -119,6 +123,10 @@ button:active, a:hover { background-color: var(--background-tertiary); } +#archived p { + text-align: center; +} + .hidden, div:has(> #todos-completed.hidden), #main div:has(#todos-completed.hidden) #showCompleted_close, -- 2.54.0