From 91df09f81b4b10725100abf76430cb8ace937fdf Mon Sep 17 00:00:00 2001 From: trinkey Date: Thu, 27 Mar 2025 10:29:33 -0400 Subject: [PATCH] fix deletion and add sorting bypass --- css/base.css | 6 +++++- helper.php | 8 ++++++++ index.php | 24 +++++++++++++++++------- lang/en-US.json | 1 + setup.php | 6 +++--- 5 files changed, 34 insertions(+), 11 deletions(-) diff --git a/css/base.css b/css/base.css index 9c900e0..056b021 100644 --- a/css/base.css +++ b/css/base.css @@ -79,7 +79,7 @@ ul { } details { - margin: 10px 0; + margin: 20px 0; } details:not([open]) summary { @@ -87,6 +87,10 @@ details:not([open]) summary { color: var(--subtext); } +summary { + cursor: pointer; +} + blockquote { margin: 10px 0; padding-left: 10px; diff --git a/helper.php b/helper.php index 3cb961c..dcb50aa 100644 --- a/helper.php +++ b/helper.php @@ -1,5 +1,13 @@ " . htmlspecialchars($section["name"]) . ""; + $todo_list .= "

" . strip_name($section["name"]) . "

"; $section_conf .= "