Skip to content

Commit

Permalink
fix: navbar css
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Nov 27, 2023
1 parent ca29dcf commit 250cb6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ header {

/* Navigation Bar */
.navbar {
padding-left: 2vw;
padding-right: 2vw;
--bs-navbar-padding-x: 2vw !important;
background-color: var(--main-background-color);
border-bottom: 1px solid var(--border-color);
box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
width: 100vw;

@include media-breakpoint-down(md) {
padding-left: 0;
padding-right: 0;
--bs-navbar-padding-x: 0 !important;
}
}

Expand Down Expand Up @@ -55,6 +53,7 @@ header {
.nav-icon {
font-size: 25px;
color: var(--accent-color);
vertical-align: sub;
}

#mode-switch {
Expand Down
1 change: 1 addition & 0 deletions eleventy/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.exports = function (eleventyConfig) {
});

eleventyConfig.addFilter('tocFast', function (content) {
// TODO: refactor as cacheByOutputPath decorator
const key = this.page.outputPath;
if (tocMemo[key] !== undefined)
return tocMemo[key];
Expand Down

0 comments on commit 250cb6c

Please sign in to comment.