Z-index for the content of a modal opened FROM another modal. See
Z_INDEX_NESTED_MODAL_BACKDROP for why the nested case needs a tier of its own.
Must stay above Z_INDEX_NESTED_MODAL_BACKDROP and below Z_INDEX_TOOLTIP, so a tooltip
triggered from inside the nested modal — its close button carries one — still renders over it.
Pinned by z-index.test.tsx.
Deliberately absent from the SCSS twin in src/renderer/styles/_vars.scss, which stops at
$z-index--modal: no SCSS-styled surface renders a nested modal, and a constant nothing consumes
is one more thing to drift. Add it there if one ever does.
Z-index for the content of a modal opened FROM another modal. See Z_INDEX_NESTED_MODAL_BACKDROP for why the nested case needs a tier of its own.
Must stay above Z_INDEX_NESTED_MODAL_BACKDROP and below
Z_INDEX_TOOLTIP, so a tooltip triggered from inside the nested modal — its close button carries one — still renders over it. Pinned byz-index.test.tsx.Deliberately absent from the SCSS twin in
src/renderer/styles/_vars.scss, which stops at$z-index--modal: no SCSS-styled surface renders a nested modal, and a constant nothing consumes is one more thing to drift. Add it there if one ever does.