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

Fix gallery image aspect ratio

parent bcf068f8
No related branches found
No related tags found
1 merge request!40Fix image gallery
...@@ -9,3 +9,7 @@ figure.image > figcaption { ...@@ -9,3 +9,7 @@ figure.image > figcaption {
width: 100%; width: 100%;
opacity: 75%; opacity: 75%;
} }
.content .gallery figure {
margin: 0;
}
<section class="section"> <section class="section gallery">
<div class="columns is-multiline is-same-height is-centered is-mobile"> <div class="columns is-multiline is-same-height is-centered is-mobile">
{% for picture in page.extra.gallery[name] %} {% for picture in page.extra.gallery[name] %}
<div class="column is-one-third is-half-mobile"> <div class="column is-one-third is-half-mobile">
......
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