aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-06-13 23:21:55 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2020-04-28 10:13:57 +0200
commit6104e652ec8c8c72051f4e6763ae670d2ac099dc (patch)
tree85ef6049285dc37c0be676511c2d36860ca15d60 /app/Resources
parent136f710ddb48f01e24892c5d2dde3b1f3a069fc4 (diff)
downloadwallabag-6104e652ec8c8c72051f4e6763ae670d2ac099dc.tar.gz
wallabag-6104e652ec8c8c72051f4e6763ae670d2ac099dc.tar.zst
wallabag-6104e652ec8c8c72051f4e6763ae670d2ac099dc.zip
Fix displaying sidenav
Diffstat (limited to 'app/Resources')
-rw-r--r--app/Resources/static/themes/material/css/nav.scss4
-rw-r--r--app/Resources/static/themes/material/js/tools.js1
2 files changed, 5 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss
index c84f7957..df1e67e8 100644
--- a/app/Resources/static/themes/material/css/nav.scss
+++ b/app/Resources/static/themes/material/css/nav.scss
@@ -136,6 +136,10 @@ nav {
136 top: 0; 136 top: 0;
137} 137}
138 138
139#button_sort {
140 display: none;
141}
142
139@media (min-width: 993px) { 143@media (min-width: 993px) {
140 .button-collapse { 144 .button-collapse {
141 display: none; 145 display: none;
diff --git a/app/Resources/static/themes/material/js/tools.js b/app/Resources/static/themes/material/js/tools.js
index 8563a14a..8b1f8bda 100644
--- a/app/Resources/static/themes/material/js/tools.js
+++ b/app/Resources/static/themes/material/js/tools.js
@@ -33,6 +33,7 @@ function initSort() {
33 // no display if export (ie: entries) not available 33 // no display if export (ie: entries) not available
34 if ($('div').is('#sort')) { 34 if ($('div').is('#sort')) {
35 $('#button_sort').show(); 35 $('#button_sort').show();
36 $('.js-sort-action').sideNav({ edge: 'right' });
36 } 37 }
37} 38}
38 39