From 5fccb06fafba8630856b0ecd932b2d74a0d7ff4e Mon Sep 17 00:00:00 2001 From: Human Date: Tue, 26 May 2026 00:41:21 -0700 Subject: [PATCH] 0.71.15: cap focused-header body to ~3 lines with internal scroll --- manifest.json | 2 +- package.json | 2 +- release-notes/0.71.15.md | 9 +++++++++ styles.css | 10 +++++++++- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 release-notes/0.71.15.md diff --git a/manifest.json b/manifest.json index 5998b64..65820c5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "stashpad", "name": "Stashpad", - "version": "0.71.14", + "version": "0.71.15", "minAppVersion": "1.7.0", "description": "Chat-style nested-notes view: rapid capture, outliner navigation, in-place editing.", "author": "Human", diff --git a/package.json b/package.json index bfd4ba8..b4927a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stashpad-obsidian", - "version": "0.71.14", + "version": "0.71.15", "private": true, "scripts": { "dev": "node esbuild.config.mjs", diff --git a/release-notes/0.71.15.md b/release-notes/0.71.15.md new file mode 100644 index 0000000..efb1e3b --- /dev/null +++ b/release-notes/0.71.15.md @@ -0,0 +1,9 @@ +# 0.71.15 — Focused-header body capped at ~3 lines + +After the JD index Preview overwrites a home note with a full hierarchy, the +focused-header strip was eating up to half the viewport. + +- `.stashpad-focused-body` is now capped at roughly three lines tall + (`max-height: calc(var(--font-text-size) * 1.5 * 3)`) with `overflow-y: + auto`. The header stays compact and scrolls internally instead of pushing + the note list down. diff --git a/styles.css b/styles.css index ee4f8ff..8c73691 100644 --- a/styles.css +++ b/styles.css @@ -769,7 +769,15 @@ color: var(--text-muted); line-height: 1.2; } -.stashpad-focused-body { padding: 0; } +.stashpad-focused-body { + padding: 0; + /* 0.71.15: cap the focused-header body to a few lines + scroll. A + long home note (especially after the JD index Preview overwrites + it with a hierarchy) was eating ~half the viewport; users prefer + a stable header strip and scroll-on-demand. */ + max-height: calc(var(--font-text-size, 16px) * 1.5 * 3); + overflow-y: auto; +} .stashpad-focused-body > :first-child { margin-top: 0; } .stashpad-focused-body > :last-child { margin-bottom: 0; } .stashpad-focused-actions {