Skip to content
Snippets Groups Projects
Commit 3c417a91 authored by alexisben's avatar alexisben
Browse files

fix figcaption

parent f871f9b9
No related branches found
No related tags found
No related merge requests found
......@@ -53,18 +53,21 @@
position: absolute
right: 0
top: 0
padding: half($spacing0) $spacing0
background: $color-background-alt
text-align: center
line-height: px2rem(30)
width: px2rem(30)
height: px2rem(30)
display: block
p
background: $color-background-alt
display: none
padding: half($spacing0) $spacing0
padding: 0 half($spacing0)
padding-right: $spacing2
&:focus, &:hover
p
display: block
@include media-breakpoint-down(desktop)
&--with-image
padding-bottom: 0
......
......@@ -29,9 +29,7 @@
) }}
{{ if .image.credit }}
<figcaption tabindex="0">
<p>
{{- partial "PrepareHTML" .image.credit -}}
</p>
{{- partial "PrepareHTML" .image.credit -}}
</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