Skip to content

Commit

Permalink
Merge pull request #3588 from alphagov/exclude-top-margin-on-interven…
Browse files Browse the repository at this point in the history
…tion-on-inverse-taxon

Exclude top margin on intervention on taxon page with inverse design
  • Loading branch information
hannalaakso authored Dec 3, 2024
2 parents 9ef39ab + dfd6fdc commit 05233d8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/views/finders/_show_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="govuk-width-container">
<div class="govuk-!-margin-top-4">
<% if content_item.has_user_research_banner? %>
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve GOV.UK",
suggestion_link_text: "Sign up to take part in user research (opens in a new tab)",
suggestion_link_url: "https://survey.take-part-in-research.service.gov.uk/jfe/form/SV_2bggmg6xlelrO0S",
new_tab: true,
} %>
<% end %>
</div>
<% if content_item.has_user_research_banner? %>
<div class="<% if !inverse %> govuk-!-margin-top-4 <% end %>">
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve GOV.UK",
suggestion_link_text: "Sign up to take part in user research (opens in a new tab)",
suggestion_link_url: "https://survey.take-part-in-research.service.gov.uk/jfe/form/SV_2bggmg6xlelrO0S",
new_tab: true,
} %>
</div>
<% end %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% if content_item.all_content_finder? %>
Expand Down

0 comments on commit 05233d8

Please sign in to comment.