Skip to content

Commit

Permalink
Fix justification for button block when selected (#33739)
Browse files Browse the repository at this point in the history
* Remove margin setting, auto right conflict with justify buttons

* Per review, add little margin back
  • Loading branch information
mkaz authored and desrosj committed Aug 30, 2021
1 parent a122eb8 commit 20eb111
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
margin: $grid-unit-10 0;
}

// Add an explicit left margin of zero and auto right margin to work in horizontal
// flex containers. Without it, a "space-between"-like effect from two auto margins
// will cause the black plus to sit in the center of what space is left.
margin: 0 auto 0 0;
// Add a uniform margin around the block.
// This can hopefully avoid havoc in flex containers.
margin: $grid-unit-10;

// Black square plus appender.
.block-list-appender__toggle {
Expand Down

0 comments on commit 20eb111

Please sign in to comment.