1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00

sticky header bug (#403)

This commit is contained in:
David Choi
2021-02-17 07:25:53 -08:00
committed by GitHub
parent 48cfb28de3
commit 50d96a12b1
4 changed files with 7 additions and 6 deletions

4
.gitignore vendored
View File

@@ -8,4 +8,6 @@ _site/
*.tmp
/lib
/.jekyll-cache
.DS_Store
.vscode/*
!.vscode/settings.json
.DS_Store

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}

View File

@@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-lg fixed-top navbar-dark" id="main-nav">
<nav class="navbar navbar-expand-lg sticky-top navbar-dark" id="main-nav">
<a class="navbar-brand" href="/" onclick="gaEvent('Nav Logo')">
<i class="fa fa-shield"></i>
<span class="hidden-sm"><strong>bit</strong>warden</span>

View File

@@ -5,10 +5,6 @@ html {
-moz-osx-font-smoothing: grayscale;
}
body {
padding-top: $navbar-height;
}
:target::before {
content: '';
display: block;