Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update columns to allow full height stretch when vertically aligned
  • Loading branch information
aaronrobertshaw committed Sep 22, 2021
commit af00c5cd937b09f04a56e0520e14af5635ed0434
8 changes: 5 additions & 3 deletions packages/block-library/src/columns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@

.wp-block-column {
flex-grow: 1;
display: flex;
flex-direction: column;

// Prevent the columns from growing wider than their distributed sizes.
min-width: 0;
Expand All @@ -115,15 +117,15 @@
* Individual Column Alignment
*/
&.is-vertically-aligned-top {
align-self: flex-start;
justify-content: flex-start;
}

&.is-vertically-aligned-center {
align-self: center;
justify-content: center;
}

&.is-vertically-aligned-bottom {
align-self: flex-end;
justify-content: flex-end;
}

&.is-vertically-aligned-top,
Expand Down