Commit 60bc8b9f authored by Nichlas W. Andersen's avatar Nichlas W. Andersen
Browse files

Fixed responsive bug

2 column media block wasn't breaking correctly
parent 9b87c95e
This diff is collapsed.
This diff is collapsed.
.block-media-2 .columns {
display: flex;
flex-wrap: wrap;
margin: -2rem;
margin: -1rem;
}
.block-media-2 .column {
flex: 0 0 100%;
margin: 2rem;
flex: 0 0 calc(100% - 2rem);
margin: 1rem;
}
.block-media-2 .column img {
......@@ -21,6 +21,9 @@
}
@media screen and (min-width: 700px) {
.block-media-2 .columns {
margin: -2rem;
}
.block-media-2 .column {
flex: 0 0 calc(50% - 4rem);
margin: 2rem;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment