Skip to content
Snippets Groups Projects
Commit 702d85b9 authored by codecraft's avatar codecraft :crocodile:
Browse files

Try out centered gray label

parent 61b29fda
No related branches found
No related tags found
1 merge request!37Make figcaption visible
......@@ -2,3 +2,13 @@
width: 70%;
height: 70%;
}
.caption {
display: flex;
justify-content: center;
padding: 4px 10px 4px 10px;
}
.tag.caption {
width: 100%;
}
......@@ -17,7 +17,9 @@
<img src="{{ image.url }}" alt="{{ post.extra.depiction.alt }}" />
</div>
{% if post.extra.depiction.credits %}
<figcaption>{{ post.extra.depiction.credits }}</figcaption>
<div class="caption">
<figcaption class="tag is-rounded caption">{{ post.extra.depiction.credits }}</figcaption>
</div>
{% endif %}
</figure>
</div>
......
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