From e27c3cdfdc69523c561ca5b12e42f35812cad40a Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Thu, 13 Apr 2017 12:31:08 -0400 Subject: [PATCH] mobile responsive --- app/views/layouts/_header.html.haml | 4 ++-- app/views/questions/_question.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index 2be72317..fb47c550 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -1,8 +1,8 @@ %header.row - .title.col-sm-8 + .title.col-8 %h2= link_to('EdContext'.html_safe, root_path) - .navigation.col-sm-4.text-right + .navigation.col-4.text-right - if current_user = link_to 'Sign Out', destroy_user_session_path, rel: "nofollow", method: :delete, class: 'btn btn-small grey waves-effect waves-light ' - else diff --git a/app/views/questions/_question.html.haml b/app/views/questions/_question.html.haml index ceb49ecc..54af6e43 100644 --- a/app/views/questions/_question.html.haml +++ b/app/views/questions/_question.html.haml @@ -1,7 +1,7 @@ - aggregated_responses = question.aggregated_responses_for_school(@school) - return if aggregated_responses.nil? -.col-6.py-3 +.col-12.col-sm-6.py-3 .question.p-2{id: "question-#{question.id}"} %p.question-text.pt-3.px-2 = question.text