Skip to content

Commit

Permalink
Fix horizontal mover icon position.
Browse files Browse the repository at this point in the history
Regressed in #26353. This fixes it.
  • Loading branch information
jasmussen committed Nov 6, 2020
1 parent dff001c commit 957c27a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,14 @@
width: 100%;
}
}

.block-editor-block-mover-button.is-up-button svg {
top: 5px;
}

.block-editor-block-mover-button.is-down-button svg {
bottom: 5px;
}
}
}

Expand Down
8 changes: 0 additions & 8 deletions packages/block-editor/src/components/block-mover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@
// Up button.
.components-toolbar-group .block-editor-block-mover-button.is-up-button,
.components-toolbar .block-editor-block-mover-button.is-up-button {
svg {
top: 5px;
}

// Focus style.
&::before {
bottom: 0;
Expand All @@ -86,10 +82,6 @@
// Down button.
.components-toolbar-group .block-editor-block-mover-button.is-down-button,
.components-toolbar .block-editor-block-mover-button.is-down-button {
svg {
bottom: 5px;
}

// Focus style.
&::before {
top: 0;
Expand Down

0 comments on commit 957c27a

Please sign in to comment.