Skip to content
Snippets Groups Projects
Commit 41b256ee authored by alexisben's avatar alexisben
Browse files

figcaption hero

parent 8bb6efb5
No related branches found
No related tags found
No related merge requests found
......@@ -64,9 +64,12 @@
display: none
padding: half($spacing0)
padding-right: $spacing2
&:focus, &:hover
&:focus
p
display: block
&:hover
figcaption p
display: block
@include media-breakpoint-down(desktop)
&--with-image
......
......@@ -29,7 +29,9 @@
) }}
{{ if .image.credit }}
<figcaption tabindex="0">
{{- partial "PrepareHTML" .image.credit -}}
<p>
{{- partial "GetTextFromHTML" .image.credit -}}
</p>
</figcaption>
{{ end }}
</figure>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment