summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-14 16:56:37 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-20 16:07:05 +0200
commitd2c0b9c038f5cbcb2b1528d4cb22b862309bd99a (patch)
tree0e66dfa811ad4d4adb19b48792dd3b1ca1ec6626
parentebefb104216022d13d41514eabd1499fc2bec129 (diff)
fix(web/ui): Fix z-index of context selector component
This change addresses an issue with the context selector component where the dropdown would fall behind a sticky tab bar in the main content.
-rw-r--r--opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss b/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss
index 07b7b1d0..c4b89503 100644
--- a/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss
+++ b/opendc-web/opendc-web-ui/src/components/context/ContextSelector.module.scss
@@ -24,6 +24,7 @@
// Ensure this selector has precedence over the default one
margin-right: 20px;
+ --pf-c-context-selector__menu--ZIndex: var(--pf-global--ZIndex--lg);
--pf-c-context-selector__toggle--PaddingTop: var(--pf-global--spacer--sm);
--pf-c-context-selector__toggle--PaddingRight: 0;
--pf-c-context-selector__toggle--PaddingBottom: var(--pf-global--spacer--sm);