Margin Breaks Flex Vertical Alignment

Removing the marking fixes vertical alignment issues when using Flex.
This commit is contained in:
Electron - Mark Firth 2018-07-14 02:18:48 +10:00 committed by GitHub
parent a74ffdb782
commit 8bc5074eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
flex: 1 0 auto; flex: 1 0 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: $primary-padding; /*margin: $primary-padding;*/
.content { .content {
flex: 1 0 auto; flex: 1 0 auto;
display: flex; display: flex;