Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Dec 26, 2023
1 parent 94fb376 commit 1b6bd46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}

.dropdown-toggle {
line-height: 1.3125rem;
line-height: 1.5625rem;

@include media-breakpoint-up(md) {
line-height: 1.875rem;
Expand All @@ -63,4 +63,11 @@
// End mod
}

// Boosted mod
.main-header {
max-height: 100vh;
overflow: hidden auto;
}
// End mod

// Boosted mod: no `@include color-mode(dark)` since Boosted doesn't yet fully support dark mode
4 changes: 2 additions & 2 deletions site/layouts/partials/docs-navbar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="sticky-top">
<header class="sticky-top main-header">
<nav class="navbar navbar-dark navbar-expand bg-dark supra d-none" aria-label="Supra-navigation - New release banner">
<div class="container-xxl d-flex justify-content-center">
<ul class="navbar-nav">
Expand All @@ -9,7 +9,7 @@
</div>
</nav>
<nav class="navbar navbar-dark bg-dark navbar-expand-lg" aria-label="Main navigation">
<div class="container-xxl navbar-nav-scroll" style="--bs-scroll-height: 100vh;">
<div class="container-xxl">
<div class="navbar-brand me-auto me-lg-4">
<a class="stretched-link" href="/">
<img src="/docs/{{ .Site.Params.docs_version }}/assets/brand/orange-logo.svg" width="50" height="50" alt="Boosted - Back to Home" loading="lazy">
Expand Down

0 comments on commit 1b6bd46

Please sign in to comment.