From: Scott Worley Date: Mon, 6 Aug 2012 06:53:08 +0000 (-0700) Subject: Separate count, timestamp, and message with spaces X-Git-Url: http://git.scottworley.com/reliable-chat/commitdiff_plain/33fdb071377a6f84189ba1ac16f482b2b83b5b5e?ds=sidebyside Separate count, timestamp, and message with spaces Separate these with spaces rather than CSS margins so that they aren't crowded together when you copy/paste the bare text out. --- diff --git a/webclient/rc.html b/webclient/rc.html index 7ace5f6..8c08c79 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -64,12 +64,9 @@ text-align: right; } .servercount { - margin-right: 0.5em; + margin-right: -0.5em; font-size: 70%; } - .timestamp { - margin-right: 0.8em; - } .timestamp:hover, .timestamp:hover .servertimestamps { background-color: #556; } @@ -193,6 +190,7 @@ servercount.setAttribute("class", "servercount"); servercount.appendChild(document.createTextNode(Object.keys(message.ServerTimes).length)); message.UI.appendChild(servercount); + message.UI.appendChild(document.createTextNode(" ")); // Timestamp var timestamp_text = message.Time ? rcformattime(message.Time) : ""; @@ -200,6 +198,7 @@ timestamp.setAttribute("class", "timestamp"); timestamp.appendChild(document.createTextNode(timestamp_text)); message.UI.appendChild(timestamp); + message.UI.appendChild(document.createTextNode(" ")); // Timestamp hover var timestamp_hover = document.createElement("div");