Skip to content
Snippets Groups Projects
Commit 6b564d9b authored by alexisben's avatar alexisben
Browse files

add pseudo element to conserve margin-bottom

parent dc97031c
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
@include media-breakpoint-up(desktop)
.document-content
min-height: 600px
// Add after element to avoid "min-height" to ignore the last block's margin-bottom
&::after
content: ''
display: block
......
......@@ -82,6 +82,11 @@
// Safe spacing if post is empty
.document-content
min-height: 350px
// Add after element to avoid "min-height" to ignore the last block's margin-bottom
&::after
content: ''
display: block
height: 1px
&:not(.full-width)
.post-sidebar
@include sidebar
......
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