Skip to content

Commit

Permalink
make the title an h1 instead of h3
Browse files Browse the repository at this point in the history
* use default USWDS h1 styles and margins
  • Loading branch information
ryanwoldatwork committed Mar 17, 2022
1 parent 0f40df3 commit 36fddb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/components/widget/_no_modal.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="touchpoints-form-wrapper" id="touchpoints-form-<%= form.short_uuid %>" data-touchpoints-form-id="<%= form.short_uuid %>" tabindex="-1">
<div class="wrapper">
<% if form.title? %>
<h3 id="fba-modal-title">
<h1 id="fba-modal-title">
<%= form.title || "Form Title" %>
</h3>
</h1>
<% end %>
<% unless form.delivery_method == "inline" %>
<a class="fba-modal-close" type="button" href="#">×</a>
Expand Down
2 changes: 0 additions & 2 deletions app/views/components/widget/_widget.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
}

#fba-modal-title {
font-size: 2.5rem;
margin-bottom: 20px;
margin-right: 20px;
margin-top: 0;
word-wrap: break-word;
Expand Down

0 comments on commit 36fddb0

Please sign in to comment.