From 352d00192fa6c6b8e31273a02f898d7740fcdd1a Mon Sep 17 00:00:00 2001
From: Jared Hancock <gravydish@gmail.com>
Date: Thu, 14 Jun 2012 00:01:01 -0500
Subject: [PATCH] Fix rendering for Firefox

Actually, Safari was probably just being really nice to me
---
 scp/dashboard.php | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/scp/dashboard.php b/scp/dashboard.php
index 734936e64..f023060cf 100644
--- a/scp/dashboard.php
+++ b/scp/dashboard.php
@@ -74,9 +74,12 @@ span.label {
     text-align: right;
     padding-right: 2.3em;
     width: 10%;
-    position: relative;
 }
 #table-here tr :not(:first-child) div {
+    position: relative;
+    margin-right: -1em;
+}
+#table-here tr :not(:first-child) div div {
     position: absolute;
     -moz-border-radius: 1em;
     -webkit-border-radius: 1em;
@@ -309,14 +312,15 @@ span.label {
                                 size = 16 * scale;
                             }
                             tr.append($('<td>')
-                                .append($('<div>').css(val && range[j] ? {
+                                .append($('<div>').append(
+                                    $('<div>').css(val && range[j] ? {
                                         'background-color': color,
                                         'width': size,
                                         'height': size,
-                                        'top': 13 - (size / 2),
-                                        'right': 13 - (size / 2)
+                                        'top': 9 - (size / 2),
+                                        'right': 10 - (size / 2)
                                     } : {})
-                                    .append("&nbsp;"))
+                                    .append("&nbsp;")))
                                 .append(row[j]));
                         }
                     }
-- 
GitLab