From 79832214a0eaaee1a11e3b044a8fd8d643481995 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 21 May 2026 17:44:33 +0200 Subject: [PATCH] fix(work-view): drop bottom padding when plugin embed is mounted .today reserves padding-bottom: --s8 for the add-task-bar button. When a plugin embed (e.g. document-mode) is mounted in place of the task list, that bottom padding clips popup menus rendered inside the iframe (slash menu, block menu). Use :has(plugin-index) to remove it only for the embed case. --- src/app/features/work-view/work-view.component.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/features/work-view/work-view.component.scss b/src/app/features/work-view/work-view.component.scss index 7cbd28039f..bf2eed7966 100644 --- a/src/app/features/work-view/work-view.component.scss +++ b/src/app/features/work-view/work-view.component.scss @@ -173,6 +173,12 @@ finish-day-btn, bottom: 0; // make space for add task bar button not overlapping 'finish day' button padding-bottom: var(--s8); + + // When a plugin embed is active, the iframe fills the area itself and the + // bottom padding clips popup menus rendered inside it (slash menu, etc.). + &:has(plugin-index) { + padding-bottom: 0; + } } .backlog {