From 5032af8ab3cf05f66cb6391fcaff7d9925ea4e92 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Mon, 7 Oct 2013 16:58:41 +0200 Subject: [PATCH 1/2] fix automatic scrolling --- css/glowingbear.css | 10 ++++++++-- index.html | 2 +- js/websockets.js | 29 +++++++++++++++++++++++++---- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index d013eee..1902717 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -1,3 +1,5 @@ +html { +} body { color: white; background-color: #222; @@ -6,10 +8,14 @@ body { padding-bottom:70px; padding-top: 70px; } +.content { + height: 100%; + min-height: 100%; + display: block; +} .bufferlines { font-family: monospace; - overflow: scroll-y; - height: 100%; + overflow-y: auto; } .navbar-fixed-bottom { diff --git a/index.html b/index.html index 051a724..a750669 100644 --- a/index.html +++ b/index.html @@ -69,7 +69,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel -
+