diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-11-03 22:42:49 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-11-03 22:42:49 +0100 |
commit | fa6f5db97fab612a17a992da5e681b33995dd4c7 (patch) | |
tree | c70fa47ddeac9388903c8b84e25dff4bd7595300 /themes | |
parent | 20bb3f7f2a5b6a4ac6a8cc1e11a37dc4de42cf23 (diff) | |
parent | ebea829d80a1688ad841a6b490f9d9e722ee53d7 (diff) | |
download | wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.tar.gz wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.tar.zst wallabag-fa6f5db97fab612a17a992da5e681b33995dd4c7.zip |
Merge pull request #922 from jsit/menuhiding
Fixing menu hiding behavior when switching from mobile width to desktop width
Diffstat (limited to 'themes')
-rwxr-xr-x | themes/baggy/css/main.css | 3 | ||||
-rwxr-xr-x | themes/baggy/js/init.js | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index ce314860..924ab5ef 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css | |||
@@ -987,6 +987,9 @@ pre code { | |||
987 | height: auto; | 987 | height: auto; |
988 | padding-top: 3em; | 988 | padding-top: 3em; |
989 | } | 989 | } |
990 | #links.menu--open { | ||
991 | display: block; | ||
992 | } | ||
990 | footer { | 993 | footer { |
991 | position: static; | 994 | position: static; |
992 | margin-right: 3em; | 995 | margin-right: 3em; |
diff --git a/themes/baggy/js/init.js b/themes/baggy/js/init.js index 542f1d43..74cbae68 100755 --- a/themes/baggy/js/init.js +++ b/themes/baggy/js/init.js | |||
@@ -8,7 +8,7 @@ $.fn.ready(function() { | |||
8 | ========================================================================== */ | 8 | ========================================================================== */ |
9 | 9 | ||
10 | $("#menu").click(function(){ | 10 | $("#menu").click(function(){ |
11 | $("#links").toggle(); | 11 | $("#links").toggleClass('menu--open'); |
12 | if ($('#content').hasClass('opacity03')) { | 12 | if ($('#content').hasClass('opacity03')) { |
13 | $('#content').removeClass('opacity03'); | 13 | $('#content').removeClass('opacity03'); |
14 | } | 14 | } |