Skip to content
Snippets Groups Projects
Commit 1bc8cce4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Image

parent 7bfd62e1
No related branches found
No related tags found
No related merge requests found
......@@ -15,13 +15,13 @@
@include meta
picture
display: block
margin-left: half(-var(--grid-gutter))
margin-right: half(-var(--grid-gutter))
margin-left: var(--grid-gutter-negative))
margin-right: var(--grid-gutter-negative))
@include in-page-with-sidebar
picture
margin-left: 0
margin-right: -var(--grid-gutter)
margin-right: var(--grid-gutter-negative))
img
max-height: $block-image-max-height-with-sidebar
width: auto
......@@ -49,7 +49,7 @@
order: 2
picture
margin-left: 0
margin-right: -var(--grid-gutter)
margin-right: var(--grid-gutter-negative))
figcaption
width: calc(#{columns(5)} + var(--grid-gutter) / 2)
order: 1
......@@ -57,8 +57,8 @@
text-align: right
&.image-landscape
picture
margin-left: -var(--grid-gutter)
margin-right: -var(--grid-gutter)
margin-left: var(--grid-gutter-negative))
margin-right: var(--grid-gutter-negative))
@media screen and (min-width: $grid-max-width)
margin-left: 0
margin-right: 0
......
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