Skip to content

Commit

Permalink
Fix spacings and formatting of user consent form
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Oct 12, 2021
1 parent 1e00c93 commit 7c73bf3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/account/_user_consent_check.html.erb
@@ -1,13 +1,13 @@
<section class="form--section">
<section class="form--section op-user-consent-form">
<p>
<%= format_text user_consent_instructions(consenting_user), { target: '_blank' } %>
</p>

<label class="form--label-with-check-box -required -no-ellipsis">
<label class="form--label-with-check-box -required -no-ellipsis op-user-consent-form--agreement">
<div class="form--check-box-container">
<input type="checkbox" name="consent_check" class="form--check-box" required="required" />
</div>

<p><%= consent_checkbox_label %></p>
<%= format_text consent_checkbox_label %>
</label>
</section>
6 changes: 6 additions & 0 deletions frontend/src/global_styles/content/_accounts.sass
Expand Up @@ -127,3 +127,9 @@
.registration-footer
display: block
margin-top: 2em

.op-user-consent-form
font-size: 1rem

&--agreement
font-size: inherit
1 change: 1 addition & 0 deletions frontend/src/global_styles/content/_forms.sass
Expand Up @@ -795,6 +795,7 @@ input[readonly].-clickable

&.-required:after
@extend %required-star
padding: 0 0.325rem 0 0

.form--field-affix
flex: 0 0 auto
Expand Down

0 comments on commit 7c73bf3

Please sign in to comment.