Skip to content

Commit

Permalink
Removes unwanted theme specific Column bottom margin (#14614)
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave authored and youknowriad committed Mar 30, 2019
1 parent 8d8a285 commit 18b4305
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/block-library/src/columns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}

.wp-block-column {
margin-bottom: 1em;
flex-grow: 1;

// Responsiveness: Show at most one columns on mobile.
Expand Down Expand Up @@ -44,14 +45,6 @@
}
}

// Specificity overide to ensure margin is applied
// and preserved on last child to ensure that when columns
// are aligned to bottom they are are flush with each other
.wp-block-column,
.entry-content > .wp-block-columns .wp-block-column:last-child {
margin-bottom: 1em;
}

/**
* All Columns Alignment
*/
Expand Down

0 comments on commit 18b4305

Please sign in to comment.