mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 03:12:21 -05:00
Merge pull request #922 from jsit/menuhiding
Fixing menu hiding behavior when switching from mobile width to desktop width
This commit is contained in:
commit
fa6f5db97f
@ -987,6 +987,9 @@ pre code {
|
|||||||
height: auto;
|
height: auto;
|
||||||
padding-top: 3em;
|
padding-top: 3em;
|
||||||
}
|
}
|
||||||
|
#links.menu--open {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
footer {
|
footer {
|
||||||
position: static;
|
position: static;
|
||||||
margin-right: 3em;
|
margin-right: 3em;
|
||||||
|
@ -8,7 +8,7 @@ $.fn.ready(function() {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$("#menu").click(function(){
|
$("#menu").click(function(){
|
||||||
$("#links").toggle();
|
$("#links").toggleClass('menu--open');
|
||||||
if ($('#content').hasClass('opacity03')) {
|
if ($('#content').hasClass('opacity03')) {
|
||||||
$('#content').removeClass('opacity03');
|
$('#content').removeClass('opacity03');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user