mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-04 21:42:44 +00:00
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:
parent
cae32b6db7
commit
79832214a0
1 changed files with 6 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue