Skip to content

Commit

Permalink
width
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmeow committed Aug 8, 2024
1 parent 4eed5b8 commit cd48db4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions website/_sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// The navbar will typically overflow, so keep a scrollbar so that the zippies
// don't move on open/close.
// This is modifying the builtin scss, particularly:
// https://github.com/just-the-docs/just-the-docs/blob/main/_sass/layout.scss

.site-nav {
// Allow left alignment instead of centering.
width: #{$nav-width};
// The navbar will typically overflow, so keep a scrollbar so that the zippies
// don't move on open/close.
overflow-y: scroll;
}

.main {
// Allow left alignment instead of centering.
margin-left: #{$nav-width};
}

0 comments on commit cd48db4

Please sign in to comment.