From c4098707b3bd6499b69b3f1212af875ad0bd95da Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Wed, 22 Feb 2012 11:35:35 -0500 Subject: [PATCH] Make graph full width of screen --- profile.html | 2 +- sass/_profile.scss | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/profile.html b/profile.html index 1b6b2c8fc0..fd5b3ef0ab 100644 --- a/profile.html +++ b/profile.html @@ -89,7 +89,7 @@ $(function() {

Course Progress

-
+
    %for chapter in chapters: diff --git a/sass/_profile.scss b/sass/_profile.scss index 00b25ceb12..e85518c922 100644 --- a/sass/_profile.scss +++ b/sass/_profile.scss @@ -59,32 +59,37 @@ div.profile-wrapper { @extend .top-header; } + div#grade-detail-graph { + width: 100%; + min-height: 300px; + } + > ol { - list-style: none; border-top: 1px solid #e3e3e3; + list-style: none; margin-top: lh(); > li { + @extend .clearfix; border-bottom: 1px solid #e3e3e3; + display: table; padding: lh() 0; width: 100%; - display: table; - @extend .clearfix; h2 { - display: table-cell; - padding: 0; - margin: 0; - width: flex-grid(2, 9); - padding-right: flex-gutter(9); border-right: 1px dotted #ccc; @include box-sizing(border-box); + display: table-cell; + margin: 0; + padding: 0; + padding-right: flex-gutter(9); + width: flex-grid(2, 9); } ol.sections { - padding-left: flex-gutter(9); display: table-cell; list-style: none; + padding-left: flex-gutter(9); width: flex-grid(7, 9); > li { @@ -114,6 +119,5 @@ div.profile-wrapper { } } } - } }