Show fixed menu on small screens

This commit is contained in:
ROTT Julien 2023-06-19 08:38:40 +02:00
parent 476e9adc14
commit dfd5bb39c9
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");
}