Skip to content

Commit

Permalink
Fix issue with toolbar as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Oct 31, 2018
1 parent 57a6190 commit dcdad03
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -814,12 +814,23 @@
// It behaves as relative, in other words, until it reaches an edge and then behaves as fixed.
// But by applying a float, we take it out of this flow. The benefit is that we don't need to compensate for margins.
// In turn, this allows margins on sibling elements to collapse to parent elements.
// RTL note: this rule does need to be auto-flipped based on direction.
float: left;
}
}

.editor-block-list__block[data-align="left"] & {
@include break-small() {
// RTL note: this rule should not be auto-flipped based on direction.
/*rtl:ignore*/
float: left;
}
}

.editor-block-list__block[data-align="right"] & {
@include break-small() {
// RTL note: this rule should not be auto-flipped based on direction.
/*rtl:ignore*/
float: right;
}
}
Expand Down

0 comments on commit dcdad03

Please sign in to comment.