Commit c4098707 by Kyle Fiedler

Make graph full width of screen

parent 41824397
...@@ -89,7 +89,7 @@ $(function() { ...@@ -89,7 +89,7 @@ $(function() {
<section class="course-info"> <section class="course-info">
<h1>Course Progress</h1> <h1>Course Progress</h1>
<div id="grade-detail-graph" style="width:650px;height:200px;"></div> <div id="grade-detail-graph"></div>
<ol class="chapters"> <ol class="chapters">
%for chapter in chapters: %for chapter in chapters:
......
...@@ -59,32 +59,37 @@ div.profile-wrapper { ...@@ -59,32 +59,37 @@ div.profile-wrapper {
@extend .top-header; @extend .top-header;
} }
div#grade-detail-graph {
width: 100%;
min-height: 300px;
}
> ol { > ol {
list-style: none;
border-top: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3;
list-style: none;
margin-top: lh(); margin-top: lh();
> li { > li {
@extend .clearfix;
border-bottom: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3;
display: table;
padding: lh() 0; padding: lh() 0;
width: 100%; width: 100%;
display: table;
@extend .clearfix;
h2 { h2 {
border-right: 1px dotted #ccc;
@include box-sizing(border-box);
display: table-cell; display: table-cell;
padding: 0;
margin: 0; margin: 0;
width: flex-grid(2, 9); padding: 0;
padding-right: flex-gutter(9); padding-right: flex-gutter(9);
border-right: 1px dotted #ccc; width: flex-grid(2, 9);
@include box-sizing(border-box);
} }
ol.sections { ol.sections {
padding-left: flex-gutter(9);
display: table-cell; display: table-cell;
list-style: none; list-style: none;
padding-left: flex-gutter(9);
width: flex-grid(7, 9); width: flex-grid(7, 9);
> li { > li {
...@@ -114,6 +119,5 @@ div.profile-wrapper { ...@@ -114,6 +119,5 @@ div.profile-wrapper {
} }
} }
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment