Unverified Commit 70788297 authored by Nitin Jadhav's avatar Nitin Jadhav Committed by GitHub
Browse files

Fixes #1762 and #1756 (#1769)

* Fixes #1762 and #1756

* Reverted h2 to p for subtitles
parent be6d68aa
Pipeline #269678 passed with stages
in 8 minutes and 27 seconds
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
} }
.vf-dropdown__menu-item { .vf-dropdown__menu-item {
cursor: pointer; cursor: pointer;
padding: 1rem 1.5rem;
&:hover { &:hover {
background-color: interactive-color('background'); background-color: interactive-color('background');
} }
...@@ -62,6 +61,10 @@ ...@@ -62,6 +61,10 @@
.vf-dropdown__menu-item-link { .vf-dropdown__menu-item-link {
color: var(--vf-color__text--primary); color: var(--vf-color__text--primary);
text-decoration: none; text-decoration: none;
display: inline-block;
width: 100%;
padding: 1rem 1.5rem;
box-sizing: border-box;
} }
.vf-dropdown-overlay { .vf-dropdown-overlay {
height: 100%; height: 100%;
......
...@@ -36,11 +36,11 @@ ...@@ -36,11 +36,11 @@
{%- endif -%} {%- endif -%}
{%- if vf_hero_heading %} {%- if vf_hero_heading %}
<h2 class="vf-hero__heading"> <h1 class="vf-hero__heading">
{%- if vf_hero_heading_href %}<a class="vf-hero__heading_link" href="{{vf_hero_heading_href}}">{%- endif -%} {%- if vf_hero_heading_href %}<a class="vf-hero__heading_link" href="{{vf_hero_heading_href}}">{%- endif -%}
{{- vf_hero_heading | safe -}} {{- vf_hero_heading | safe -}}
{%- if vf_hero_heading_href -%}</a>{%- endif -%} {%- if vf_hero_heading_href -%}</a>{%- endif -%}
</h2> </h1>
{% endif %} {% endif %}
{% if vf_hero_subheading %}<p class="vf-hero__subheading">{{vf_hero_subheading | safe}}</p>{% endif %} {% if vf_hero_subheading %}<p class="vf-hero__subheading">{{vf_hero_subheading | safe}}</p>{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment