From 9a3c34ab5c6ee8ff160a9010527efdc9c9bb3039 Mon Sep 17 00:00:00 2001 From: David Schoonover Date: Thu, 7 Jun 2012 03:31:50 -0700 Subject: [PATCH] Minor dashboard style tweaks --- lib/template/dashboard/dashboard.jade | 2 +- lib/template/graph/graph-display.jade | 4 ++-- www/css/dashboard.styl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/template/dashboard/dashboard.jade b/lib/template/dashboard/dashboard.jade index ce3312e..ee81124 100644 --- a/lib/template/dashboard/dashboard.jade +++ b/lib/template/dashboard/dashboard.jade @@ -1,4 +1,4 @@ -section#dashboard +section#dashboard.centered .page-header h1 Wikimedia Report Card small March 2012 diff --git a/lib/template/graph/graph-display.jade b/lib/template/graph/graph-display.jade index 1c2e855..f15e2b6 100644 --- a/lib/template/graph/graph-display.jade +++ b/lib/template/graph/graph-display.jade @@ -11,8 +11,8 @@ section.graph-display.graph(id=graph_id) .metric-change.month-over-month span.dates(data-bind='callout.month.dates') #{callout.month.dates} span.value(data-bind='callout.month.value') #{callout.month.value} - h2.graph-name - a(id="graph-title", href="#{model.toLink()}", data-bind='name') #{name} + h2 + a.graph-name(href="#{model.toLink()}", data-bind='name') #{name} .graph-viewport-row.row-fluid: .inner .viewport diff --git a/www/css/dashboard.styl b/www/css/dashboard.styl index ababdfa..8e27375 100644 --- a/www/css/dashboard.styl +++ b/www/css/dashboard.styl @@ -19,7 +19,7 @@ /* }}} */ -.dashboard +#dashboard section.graph margin 7em auto -- 1.7.0.4