Skip to content

Commit

Permalink
feature: added all 4 justification styles
Browse files Browse the repository at this point in the history
  • Loading branch information
up1512001 committed Jul 11, 2024
1 parent 36a09f9 commit 6da5912
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/block-library/src/columns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,24 @@
}
}
}

/* Content Justification */
&.is-content-justification-left {
justify-content: flex-start;
}

&.is-content-justification-center {
justify-content: center;
}

&.is-content-justification-right {
justify-content: flex-end;
}

&.is-content-justification-space-between {
justify-content: space-between;
}

}

// Lower specificity of margin styles so they don't override the Layout block support.
Expand Down

0 comments on commit 6da5912

Please sign in to comment.