Merge pull request #145 from julienrott/master

top menu always shown (fix for small screens)
This commit is contained in:
zjedi 2023-06-19 22:37:55 +02:00 committed by GitHub
commit ad4cfad51f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -89,9 +89,6 @@
========================================================================== */
@media only screen and (max-width: 500px) {
.fixed-nav {
display: none;
}
.post-holder {
padding-top: 20px;
}

View file

@ -55,7 +55,7 @@ var $sitehead = $("#site-head");
if (w >= Math.floor(g) && w <= Math.ceil(h)) {
$(".fixed-nav").fadeOut("fast");
} else if ($(window).width() > 500) {
} else {
$(".fixed-nav").css("display", "flex").fadeIn("fast");
}