Skip to content

A platform for community discussion. Free, open, simple.

UX: fix z-index on horizon (#36981)

Jordan Vidrineb6fd4907929f
diff --git a/themes/horizon/scss/header.scss b/themes/horizon/scss/header.scss
index b033e56db5e..b5cc2d382ec 100644
--- a/themes/horizon/scss/header.scss
+++ b/themes/horizon/scss/header.scss
@@ -3,10 +3,6 @@
.d-header {
box-shadow: none;
background: var(--background-color);
-
- @include viewport.from(xl) {
- padding-bottom: var(--main-grid-gap);
- }
}
.search-menu .search-input,
diff --git a/themes/horizon/scss/nav-pills.scss b/themes/horizon/scss/nav-pills.scss
index 6b918a2fd4c..e30bcd85471 100644
--- a/themes/horizon/scss/nav-pills.scss
+++ b/themes/horizon/scss/nav-pills.scss
@@ -2,9 +2,11 @@
position: sticky;
top: var(--header-offset);
background: var(--d-content-background);
- z-index: z("base");
+ z-index: z("base") + 1;
padding: 1.5rem 0 1rem 0;
max-width: unset;
+ border-top-left-radius: var(--d-border-radius-large);
+ border-top-right-radius: var(--d-border-radius-large);
.navigation-container {
gap: 1rem;