Skip to content

Commit 2e9379f

Browse files
authored
fix: Hackathon names now consistently on newline, wrapping is centered (#358)
* Hackthon name title page has newline * Make houndbot happy
1 parent 5e03082 commit 2e9379f

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

app/assets/stylesheets/forms/_forms.sass

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ hr
6161
.btn
6262
margin-bottom: 30px
6363

64+
.text-overflow-center
65+
text-align: center
66+
display: flex
67+
justify-content: center
68+
6469
.simple_form
6570
@include css4
6671
color: var(--grey)

app/views/devise/passwords/edit.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.form-container.password
33
.section-title.center
44
Change Your
5-
%span.emphasized Password
5+
.emphasized Password
66
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
77
= f.error_notification
88
= f.input :reset_password_token, as: :hidden

app/views/devise/passwords/new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
.form-container.password
33
%h1.section-title.center
44
Reset Your
5-
%span.emphasized Password
5+
.emphasized Password
66

77
= render 'form'

app/views/devise/registrations/new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.form-container.signup
33
%h1.section-title.center
44
Register for
5-
%span.emphasized= HackathonConfig['name']
5+
.emphasized.text-overflow-center= HackathonConfig['name']
66

77
- if !HackathonConfig['accepting_questionnaires'] || HackathonConfig['disclaimer_message'].present?
88
#disclaimer

app/views/devise/sessions/new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
.form-container.login
33
%h1.section-title.center
44
Sign in to
5-
%span.emphasized= HackathonConfig['name']
5+
.emphasized.text-overflow-center= HackathonConfig['name']
66
= render 'form'

app/views/questionnaires/new.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.form-container
44
%h1.section-title
55
Apply for
6-
%span.emphasized= HackathonConfig['name']
6+
.emphasized.text-overflow-center= HackathonConfig['name']
77
= render 'form'
88
- else
99
.form-container

0 commit comments

Comments
 (0)