Skip to content

Commit

Permalink
Fix nav list alignment (#46682)
Browse files Browse the repository at this point in the history
* Fix nav list appender alignment

* Fix icon width

* Remove unused CSS
  • Loading branch information
Alex Lende committed Dec 20, 2022
1 parent 696d63f commit 6c1cdbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions packages/block-editor/src/components/list-view/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@
}

.block-editor-block-icon {
align-self: flex-start;
margin-right: $grid-unit-10;
width: $icon-size;
flex: 0 0 $icon-size;
}

.block-editor-list-view-block__menu-cell,
Expand Down Expand Up @@ -319,16 +318,6 @@

.block-editor-list-view-block-select-button__lock {
line-height: 0;
width: 16px;
min-width: 24px;
height: 16px;
margin-left: auto;
padding: 0;
vertical-align: middle;
display: inline-flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.offcanvas-editor__appender .block-editor-inserter__toggle {
background-color: #1e1e1e;
color: #fff;
margin: $grid-unit-10 0 0 28px;
margin: $grid-unit-10 0 0 24px;
border-radius: 2px;
height: 24px;
min-width: 24px;
Expand Down

1 comment on commit 6c1cdbd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3744689009
📝 Reported issues:

Please sign in to comment.