Skip to content

Commit

Permalink
Preferences modal: fix the position of sticky heading when blocks are…
Browse files Browse the repository at this point in the history
… hidden (#55456)
  • Loading branch information
t-hamano authored Oct 20, 2023
1 parent 5b9faf6 commit 3d5f615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edit-post/src/components/block-manager/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
text-align: center;
position: sticky;
// When sticking, tuck the top border beneath the modal header border
top: -1px;
top: ($grid-unit-05 + 1) * -1;
z-index: z-index(".edit-post-block-manager__disabled-blocks-count");

// Stick the category titles to the bottom
~ .edit-post-block-manager__results .edit-post-block-manager__category-title {
top: 35px;
top: $grid-unit-40 - 1;
}
.is-link {
margin-left: 12px;
Expand Down

0 comments on commit 3d5f615

Please sign in to comment.