From 8f049757d7f178b5847b56988976d0b8e6a9b1ae Mon Sep 17 00:00:00 2001 From: Gil Poiares-Oliveira Date: Mon, 4 Mar 2024 17:39:40 +0100 Subject: [PATCH] Fix navbar over Drupal admin elements --- css/base/biodatapt.base.css | 6 +++++- scss/base/biodatapt.base.scss | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/css/base/biodatapt.base.css b/css/base/biodatapt.base.css index 098de31..eae908e 100644 --- a/css/base/biodatapt.base.css +++ b/css/base/biodatapt.base.css @@ -7,7 +7,7 @@ /* Temp fix for: * Issue #3233533: Core .placeholder class conflicts with new Bootstrap .placeholder class * https://www.drupal.org/project/drupal/issues/3233533 - * + * * Issue #3246827: Fix em.placeholder style from Bootstrap 5 base styling with the Drupal core placeholder * https://www.drupal.org/i/3246827 */ @@ -96,3 +96,7 @@ h3 { background: url(../../images/square-rss.svg) no-repeat; } +#page > nav { + z-index: auto; +} + diff --git a/scss/base/biodatapt.base.scss b/scss/base/biodatapt.base.scss index 3015b91..a6dec8b 100644 --- a/scss/base/biodatapt.base.scss +++ b/scss/base/biodatapt.base.scss @@ -6,7 +6,7 @@ /* Temp fix for: * Issue #3233533: Core .placeholder class conflicts with new Bootstrap .placeholder class * https://www.drupal.org/project/drupal/issues/3233533 - * + * * Issue #3246827: Fix em.placeholder style from Bootstrap 5 base styling with the Drupal core placeholder * https://www.drupal.org/i/3246827 */ @@ -110,4 +110,9 @@ h3 { height: 16px; text-indent: -9999px; background: url("/images/square-rss.svg") no-repeat; -} \ No newline at end of file +} + +// Fix navbar over Drupal admin elements: +#page > nav { + z-index: auto; +}