Skip to content

Commit

Permalink
Reduce size of fieldset legends on Add Downtime
Browse files Browse the repository at this point in the history
Reduce the size of the legend text as per updated designs.
  • Loading branch information
mtaylorgds committed Feb 2, 2024
1 parent 57f525e commit d529c6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/downtimes/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="govuk-grid-column-one-half">
<%= render "govuk_publishing_components/components/fieldset", {
legend_text: "From date",
heading_size: "l"
heading_size: "m"
} do %>
<%= render "govuk_publishing_components/components/date_input", {
hint: "For example, 01 08 2022",
Expand All @@ -19,7 +19,7 @@
<div class="govuk-grid-column-one-half">
<%= render "govuk_publishing_components/components/fieldset", {
legend_text: "From time",
heading_size: "l"
heading_size: "m"
} do %>
<%= render "time_input", {
hint: "For example, 9:30 or 19:30",
Expand All @@ -37,7 +37,7 @@
<div class="govuk-grid-column-one-half">
<%= render "govuk_publishing_components/components/fieldset", {
legend_text: "To date",
heading_size: "l"
heading_size: "m"
} do %>
<%= render "govuk_publishing_components/components/date_input", {
hint: "For example, 01 08 2022",
Expand All @@ -48,7 +48,7 @@
<div class="govuk-grid-column-one-half">
<%= render "govuk_publishing_components/components/fieldset", {
legend_text: "To time",
heading_size: "l"
heading_size: "m"
} do %>
<%= render "time_input", {
hint: "For example, 9:30 or 19:30",
Expand Down

0 comments on commit d529c6d

Please sign in to comment.