Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
embl.org
vf-core-mirror
Commits
70788297
Unverified
Commit
70788297
authored
Apr 25, 2022
by
Nitin Jadhav
Committed by
GitHub
Apr 25, 2022
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
components/vf-dropdown/vf-dropdown.scss
components/vf-dropdown/vf-dropdown.scss
+4
-1
components/vf-hero/vf-hero.njk
components/vf-hero/vf-hero.njk
+2
-2
No files found.
components/vf-dropdown/vf-dropdown.scss
View file @
70788297
...
...
@@ -51,7 +51,6 @@
}
.vf-dropdown__menu-item
{
cursor
:
pointer
;
padding
:
1rem
1
.5rem
;
&
:hover
{
background-color
:
interactive-color
(
'background'
);
}
...
...
@@ -62,6 +61,10 @@
.vf-dropdown__menu-item-link
{
color
:
var
(
--
vf-color__text--primary
);
text-decoration
:
none
;
display
:
inline-block
;
width
:
100%
;
padding
:
1rem
1
.5rem
;
box-sizing
:
border-box
;
}
.vf-dropdown-overlay
{
height
:
100%
;
...
...
components/vf-hero/vf-hero.njk
View file @
70788297
...
...
@@ -36,11 +36,11 @@
{%- endif -%}
{%- if vf_hero_heading %}
<h
2
class="vf-hero__heading">
<h
1
class="vf-hero__heading">
{%- if vf_hero_heading_href %}<a class="vf-hero__heading_link" href="{{vf_hero_heading_href}}">{%- endif -%}
{{- vf_hero_heading | safe -}}
{%- if vf_hero_heading_href -%}</a>{%- endif -%}
</h
2
>
</h
1
>
{% endif %}
{% if vf_hero_subheading %}<p class="vf-hero__subheading">{{vf_hero_subheading | safe}}</p>{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment