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.
This commit is contained in:
Johannes Millan 2026-05-21 17:44:33 +02:00
parent cae32b6db7
commit 79832214a0

View file

@ -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 {