Show fixed menu on small screens
This commit is contained in:
parent
476e9adc14
commit
dfd5bb39c9
2 changed files with 1 additions and 4 deletions
|
|
@ -89,9 +89,6 @@
|
|||
========================================================================== */
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
.fixed-nav {
|
||||
display: none;
|
||||
}
|
||||
.post-holder {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue