Skip to content
Snippets Groups Projects
Commit b1589e8f authored by Chris Lawton's avatar Chris Lawton
Browse files

adding spacing around streamfield blocks

parent 12df5138
No related branches found
No related tags found
No related merge requests found
.responsive-object { .responsive-object {
position: relative; position: relative;
margin-bottom: 2rem;
@include media-query(tablet-portrait) {
margin-bottom: 4rem;
}
iframe, iframe,
object, object,
......
...@@ -75,8 +75,11 @@ ...@@ -75,8 +75,11 @@
} }
} }
&--streamfield {
margin-bottom: 2rem;
@include media-query(tablet-portrait) { @include media-query(tablet-portrait) {
flex-direction: row; margin-bottom: 4rem;
} }
} }
} }
{% load wagtailimages_tags %} {% load wagtailimages_tags %}
<div class="wrapper wrapper--streamfield">
{% image value.image original %} {% image value.image original %}
<p>{{ value.caption }}</p> <p>{{ value.caption }}</p>
</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