From 36fddb0d3f1ca22dd0759c4b69d800f36193dd70 Mon Sep 17 00:00:00 2001 From: Ryan Wold Date: Wed, 16 Mar 2022 21:49:52 -0700 Subject: [PATCH] make the title an h1 instead of h3 * use default USWDS h1 styles and margins --- app/views/components/widget/_no_modal.html.erb | 4 ++-- app/views/components/widget/_widget.css.erb | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/components/widget/_no_modal.html.erb b/app/views/components/widget/_no_modal.html.erb index ffd1bec5e..33840cc8d 100644 --- a/app/views/components/widget/_no_modal.html.erb +++ b/app/views/components/widget/_no_modal.html.erb @@ -1,9 +1,9 @@
<% if form.title? %> -

+

<%= form.title || "Form Title" %> -

+ <% end %> <% unless form.delivery_method == "inline" %> × diff --git a/app/views/components/widget/_widget.css.erb b/app/views/components/widget/_widget.css.erb index d94bbb0af..416398b4b 100644 --- a/app/views/components/widget/_widget.css.erb +++ b/app/views/components/widget/_widget.css.erb @@ -39,8 +39,6 @@ } #fba-modal-title { - font-size: 2.5rem; - margin-bottom: 20px; margin-right: 20px; margin-top: 0; word-wrap: break-word;