diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 8e91b97..987e1f0 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -41,6 +41,11 @@ h1 { } +#students-chart-wrapper { + max-width: 400px; + max-height: 400px; +} + /* Sticky footer styles diff --git a/app/views/students/index.html.haml b/app/views/students/index.html.haml index f2fdd40..61deafc 100644 --- a/app/views/students/index.html.haml +++ b/app/views/students/index.html.haml @@ -1,8 +1,8 @@ - title "Student Index" .page-header %h1 Student Progress -.center-block.text-center - %canvas#students-chart{height: 400, width: 800} +.center-block.text-center#students-chart-wrapper + %canvas#students-chart{height: 400, width: 400} .page-header = link_to new_student_path, :class => 'btn btn-primary' do %span.glyphicon.glyphicon-plus