From ab49f9cc75b26922cfed460e60509eabfdde3bb1 Mon Sep 17 00:00:00 2001 From: Peter Kos Date: Sun, 20 Sep 2020 01:58:18 -0400 Subject: [PATCH 1/2] Fix bug --- app/views/questionnaires/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/questionnaires/new.html.haml b/app/views/questionnaires/new.html.haml index 229d9ed09..615869fb0 100644 --- a/app/views/questionnaires/new.html.haml +++ b/app/views/questionnaires/new.html.haml @@ -1,7 +1,7 @@ - title "Application" - if HackathonConfig['accepting_questionnaires'] .form-container - %h1.section-title + %h1.section-title.center Apply for .emphasized.text-overflow-center= HackathonConfig['name'] = render 'form' From 2949fa1b71cfe028784f69219ce1d47bae01a38e Mon Sep 17 00:00:00 2001 From: Peter Kos Date: Sun, 20 Sep 2020 02:15:25 -0400 Subject: [PATCH 2/2] Long containers are left aligned,not centernewline --- app/views/questionnaires/new.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/questionnaires/new.html.haml b/app/views/questionnaires/new.html.haml index 615869fb0..6d389312f 100644 --- a/app/views/questionnaires/new.html.haml +++ b/app/views/questionnaires/new.html.haml @@ -1,9 +1,9 @@ - title "Application" - if HackathonConfig['accepting_questionnaires'] .form-container - %h1.section-title.center + %h1.section-title Apply for - .emphasized.text-overflow-center= HackathonConfig['name'] + %span.emphasized= HackathonConfig['name'] = render 'form' - else .form-container