From 8057c0639cf812a2105073d557fe638a79a3a74b Mon Sep 17 00:00:00 2001 From: David Cormier Date: Fri, 11 Oct 2013 20:37:11 -0400 Subject: [PATCH] Align nicks on the right. Fixes #19. --- css/glowingbear.css | 16 +++++++++++++++- index.html | 43 +++++++++++++++++++++++++++---------------- js/models.js | 31 +++++++++++++++++++++++-------- 3 files changed, 65 insertions(+), 25 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 1f6be9e..bab8619 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -24,6 +24,16 @@ input#sendMessage { width: 100%; } +td#time { + padding-right: 5px; +} + +td#nickname { + text-align: right; + vertical-align: middle; + padding-right: 5px; +} + /* Lastly, apply responsive CSS fixes as necessary */ @media (max-width: 767px) { #footer { @@ -59,13 +69,17 @@ input#sendMessage { height: 100%; min-height: 100%; } +span.text { + white-space: nowrap; +} + .bufferlines { font-family: monospace; overflow-y: auto; margin-left: 14%; width: auto; position: relative; - padding-bottom: 60px; + padding-bottom: 55px; } .text { word-wrap: break-word; diff --git a/index.html b/index.html index 9eb74d5..c80b4d1 100644 --- a/index.html +++ b/index.html @@ -107,25 +107,36 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
-
- - {{ bufferline.date | date:'HH:mm' }} - + + + + + + + + +
+ + {{ bufferline.date | date:'HH:mm' }} + + + {{ part.text }} + + {{ part.text }} - {{ part.text }} + + + +
+