From 0e809d0c455764c6fe72faf3e76069d29a2ddecd Mon Sep 17 00:00:00 2001 From: tobinbradley Date: Tue, 27 Oct 2015 12:43:04 -0400 Subject: [PATCH] Responsive columns Added a col-responsive class so table columns can hide themselves on tiny screns. Also pointed some services to different endpoints. --- app/css/reports.css | 8 ++ app/index.html | 4 +- app/js/modules/environment.js | 8 +- app/js/modules/impervious.js | 10 +-- app/js/modules/library.js | 10 +-- app/js/modules/parks.js | 9 +- app/js/modules/property.js | 36 ++++---- app/js/modules/search.js | 5 +- app/js/modules/trash.js | 12 +-- app/js/modules/voting.js | 158 +++++++++++++++++----------------- 10 files changed, 127 insertions(+), 133 deletions(-) diff --git a/app/css/reports.css b/app/css/reports.css index 2f374a9..772b9e1 100644 --- a/app/css/reports.css +++ b/app/css/reports.css @@ -1,6 +1,14 @@ .report-container { padding: 32px; } +@media (max-width: 500px) { + .report-container { + padding: 15px; + } + .col-responsive { + display: none; + } +} /*tables*/ .report-container table { diff --git a/app/index.html b/app/index.html index 2ee4c71..c5039ce 100644 --- a/app/index.html +++ b/app/index.html @@ -60,11 +60,11 @@