editor: fix find widget z-index

When open, the find widget was visible above modal dialogs because
of z-index.
This commit is contained in:
David Lechner
2022-12-30 14:08:36 -06:00
committed by David Lechner
parent ca50d60b2c
commit d119cb564e
2 changed files with 17 additions and 4 deletions
+16 -4
View File
@@ -102,8 +102,20 @@
}
}
// override iOS keyboard button position
.monaco-editor .iPadShowKeyboard {
right: unset !important;
left: 20px;
.monaco-editor {
// override iOS keyboard button position
& .iPadShowKeyboard {
right: unset !important;
left: 20px;
}
// fix find widget in front of dialogs
& .overflow-guard {
z-index: bp.$pt-z-index-content - 1;
}
// allow overflow to overlay content outside of editor
& .overflowingContentWidget {
z-index: bp.$pt-z-index-overlay - 1;
}
}