diff --git a/app/components/content/inspiration_card_component.html.erb b/app/components/content/inspiration_card_component.html.erb
index ff9572675d..e840917efd 100644
--- a/app/components/content/inspiration_card_component.html.erb
+++ b/app/components/content/inspiration_card_component.html.erb
@@ -9,7 +9,9 @@
<%= content_tag heading_tag do %>
- <%= content_tag :span, title %>
+ <%= content_tag :span do %>
+ <%= content_tag :span, title %>
+ <% end %>
<% end %>
<%= tag.p(helpers.safe_html_format(description)) %>
@@ -22,7 +24,9 @@
<%= link_to(path, class: "link--pink") do %>
<%= content_tag heading_tag do %>
- <%= content_tag :span, title %>
+ <%= content_tag :span do %>
+ <%= content_tag :span, title %>
+ <% end %>
<% end %>
<%= tag.p(helpers.safe_html_format(description)) %>
diff --git a/app/webpacker/styles/category.scss b/app/webpacker/styles/category.scss
index 67d792f0cd..b3e9bb86ed 100644
--- a/app/webpacker/styles/category.scss
+++ b/app/webpacker/styles/category.scss
@@ -152,7 +152,6 @@
h2,
h3 {
@extend .heading-m, .heading--margin-0;
- line-height: 2rem;
}
}
}
diff --git a/app/webpacker/styles/links-and-buttons.scss b/app/webpacker/styles/links-and-buttons.scss
index 80aafb8774..07eddab91c 100644
--- a/app/webpacker/styles/links-and-buttons.scss
+++ b/app/webpacker/styles/links-and-buttons.scss
@@ -37,6 +37,13 @@
padding: .5rem;
background: $backgroundColor;
box-shadow: 0 0 0 $backgroundColor, -0 0 0 $backgroundColor;
+
+ span {
+ position: relative;
+ background: none;
+ padding: 0;
+ box-shadow: none;
+ }
}
}