From 8027decd8305bab60ecabf77d5f9b4fd116f3528 Mon Sep 17 00:00:00 2001 From: Xavier Berger Date: Sun, 12 Oct 2014 15:22:20 +0200 Subject: [PATCH] Cleanup shellinabox page --- rpimonitor/web/css/rpimonitor.css | 10 +--------- rpimonitor/web/js/rpimonitor.shellinabox.js | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/rpimonitor/web/css/rpimonitor.css b/rpimonitor/web/css/rpimonitor.css index fc48edb..dc92223 100644 --- a/rpimonitor/web/css/rpimonitor.css +++ b/rpimonitor/web/css/rpimonitor.css @@ -19,7 +19,7 @@ */ /* Main marketing message and start button */ .jumbotron { - margin: 40px 180px 180px; + /*margin: 40px 180px 180px;*/ text-align: center; } .jumbotron h1 { @@ -82,18 +82,10 @@ body { #shellinaboxframe, #shellinaboxdiv { - padding: 0px 0px 0px 0px; min-width: 100%; min-height: 100%; } .justgage { display: inline-block; - /* margin-bottom: -10px; */ } - -/* -.justgage svg{ - margin-top: -20px; -} -*/ diff --git a/rpimonitor/web/js/rpimonitor.shellinabox.js b/rpimonitor/web/js/rpimonitor.shellinabox.js index 695844c..4dd470b 100644 --- a/rpimonitor/web/js/rpimonitor.shellinabox.js +++ b/rpimonitor/web/js/rpimonitor.shellinabox.js @@ -25,7 +25,7 @@ $(function () { }); function resize_frame(){ - var window_height = $(window).height() - 60 - 40; + var window_height = $(window).height() - 30 - 40; $('#shellinaboxdiv').css('height',window_height+'px'); }