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