From 412dc527a37f1d8b7ea3b00654dc2b7e6ef538de Mon Sep 17 00:00:00 2001
From: th
Date: Wed, 15 Apr 2026 21:46:06 +0200
Subject: [PATCH] help: let the dialog scroll
The shared modal-container rule slapped `overflow: hidden` on
`#help > div` to clip border-radius, which won over the Tailwind
`overflow-y-auto` on the same element and froze the scroll. Move
help to its own rule that keeps the rounded corners + shadow and
leaves overflow alone so the inline overflow-y-auto takes effect.
Co-Authored-By: Claude Opus 4.6 (1M context)
---
config.php | 2 +-
electron/package.json | 2 +-
public/css/style.css | 9 ++++++++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/config.php b/config.php
index d26cc3a..1b11696 100644
--- a/config.php
+++ b/config.php
@@ -1,7 +1,7 @@
div,
#detail > div,
#settings-overlay > div,
-#help > div,
#search > div,
#tasks > div,
#calendar > div,
@@ -126,6 +125,14 @@ select[class*="border-t-accent"] {
overflow: hidden;
}
+/* The help dialog scrolls its own body — keep the border-radius and
+ shadow but drop overflow:hidden so the Tailwind overflow-y-auto on
+ the same element actually takes effect. */
+#help > div {
+ border-radius: var(--ui-radius-modal);
+ box-shadow: var(--ui-shadow-modal);
+}
+
/* Overlay backdrop blur (applies to anything that's already an .overlay) */
.overlay { backdrop-filter: blur(var(--ui-blur-overlay)); -webkit-backdrop-filter: blur(var(--ui-blur-overlay)); }
|