Skip to content
Snippets Groups Projects
Commit db40843e authored by David Loiret's avatar David Loiret Committed by Jean-Baptiste Kempf
Browse files

Fix navbar hides initial content when jumping to anchor


Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a675f8ed
No related branches found
No related tags found
No related merge requests found
......@@ -944,6 +944,15 @@ img, .normalButton {
}
/* ============================ BOOTSTRAP ADJUSTMENTS =========================== */
//Fix navbar hides initial content when jumping to anchor.
//Note that according to HTML5 spec, authors should not specify the name attribute on a elements.
:target:before, a[name]:before {
display: block;
content: "";
margin-top: -75px;
height: 75px;
visibility: hidden;
}
.btn {
border-radius: 4px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment