From a4a3499a5493a28a7034005fdebcc1437848d332 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Wed, 12 Mar 2014 19:06:08 +0100 Subject: [PATCH] Implemented NAMES events --- client/css/style.css | 11 ++++++----- client/index.html | 2 +- client/js/chat.js | 1 - lib/models.js | 2 +- lib/server.js | 44 +++++++++++++++++++++++++++++++++++--------- 5 files changed, 43 insertions(+), 17 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index ed3441d..ae6af23 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -108,11 +108,12 @@ h2 { } #chat .users { border-left: 1px solid #ccc; - float: right; - height: 100%; - margin-top: 36px; + bottom: 26px; overflow-y: auto; - padding-top: 6px; + padding: 4px 0; + position: absolute; + right: 0px; + top: 36px; width: 159px; } #chat .users .user { @@ -125,7 +126,7 @@ h2 { bottom: 26px; left: 0; overflow-y: auto; - padding: 6px 0; + padding: 4px 0; position: absolute; right: 160px; top: 36px; diff --git a/client/index.html b/client/index.html index 735b8b8..fdb63c8 100644 --- a/client/index.html +++ b/client/index.html @@ -42,7 +42,7 @@