From c2e10f09732ff96a7b185aa4e0a8896750d5c32d Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 12 Jun 2018 15:31:25 -0700 Subject: hide sidebar on small width --- static/style.css | 3 +-- static/ui.js | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index c73a8be..4fce014 100644 --- a/static/style.css +++ b/static/style.css @@ -165,13 +165,12 @@ pre { position: fixed; top: 0; left: 0; - color: black; + color: white; line-height: 1em; z-index: 1; cursor: pointer; width: 10rem; font-size: 2rem; - background: black; } .hasunread { diff --git a/static/ui.js b/static/ui.js index 6534a20..5f50655 100644 --- a/static/ui.js +++ b/static/ui.js @@ -1,6 +1,9 @@ var templates = {}; $(document).ready(function() { + if ( $(window).width() < 1024 ) { + $('#filters').addClass('hidden'); + } boot(); }); -- cgit v1.2.3