From d38677d8a6f961152282ff9e3eeaec5309e66169 Mon Sep 17 00:00:00 2001 From: jllord Date: Tue, 28 May 2013 21:49:17 -0700 Subject: [PATCH] responsiveish table --- css/site.css | 3 ++- js/sheetsee.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/site.css b/css/site.css index a400a5f..57ce5ea 100644 --- a/css/site.css +++ b/css/site.css @@ -48,7 +48,8 @@ code {font-family: "Consolas", "Ubuntu Mono", monospace; line-height: 22px; font #latestSpot ul, #selectedSpot ul {list-style: none; margin-top: 12px 0px; padding: 0px;} #latestSpot li, #selectedSpot li{} -#hackSpotsTable {cursor: pointer; background: #fff; min-width: 600px;} +#hackSpotsTable {cursor: pointer; background: #fff; min-width: 300px; overflow-x: auto; padding-bottom: 20px;} +#hackSpotsTable table {min-width: 600px;} .tHeader::after {content: " \2193 \2191 "; font-size: 10px; padding-left: 3px;} #hackSpotsTable .tHeader:hover {color: #FF4646;} .spotRow:hover {color: #FF4646;} diff --git a/js/sheetsee.js b/js/sheetsee.js index 199b770..1aeb2fa 100644 --- a/js/sheetsee.js +++ b/js/sheetsee.js @@ -111,7 +111,7 @@ function getKeyword(data, keyword) { } }) return group - if (group = []) return "null" + if (group = []) return "no matches" } function getColumnTotal(data, column){