Keep an open menu above the other blocks of its panel

Every direct child of a panel sits at the same stacking level, so the blocks after an open dropdown painted over its list: the bulk recycling text and buttons hid the rarity options. The block holding an open select or filter menu now rises above its neighbours, in every panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-19 09:54:56 +01:00
parent 8b76570e7a
commit 055f8cf17b
2 changed files with 25 additions and 0 deletions

View file

@ -16,6 +16,11 @@
position: relative;
z-index: 1;
}
// Le bloc qui contient un menu ouvert passe devant ses voisins, qui recouvriraient sinon la liste (même niveau, plus loin dans la page).
> :has(:is(.nds-select-dropdown, .nds-filter-dropdown).is-open) {
z-index: 2;
}
}
@mixin tool-panel-surface {
@ -104,6 +109,11 @@
position: relative;
z-index: 1;
}
// Le bloc qui contient un menu ouvert passe devant ses voisins, qui recouvriraient sinon la liste (même niveau, plus loin dans la page).
> :has(:is(.nds-select-dropdown, .nds-filter-dropdown).is-open) {
z-index: 2;
}
}
@mixin badge-pattern($tone: primary) {