From ad0c757b457f39c490cdc1f3030d45638b49e71e Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Mon, 7 Oct 2013 16:29:48 -0700 Subject: [PATCH] Better chart element positioning --- ui/stylesheets/_dashboard.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/stylesheets/_dashboard.scss b/ui/stylesheets/_dashboard.scss index c3572428e61..f3a8df03b2f 100644 --- a/ui/stylesheets/_dashboard.scss +++ b/ui/stylesheets/_dashboard.scss @@ -84,16 +84,20 @@ width: 200px; height: 200px; margin: 15px; - padding: 20px; list-style: none; float: left; border: 1px solid #ccc; position: relative; + .label { + background: lighten(#ccc, 10%); + padding: 5px; + } + .pie-chart-container { position: absolute; - left: 15px; - top: 50px; + left: 50px; + top: 40px; width: 100px; height: 100px; @@ -111,6 +115,7 @@ white-space: nowrap; position: absolute; top: 150px; + left: 8px; .name { color: darken(#ccc, 30%);