Skip to content

Commit

Permalink
Block Directory: Fix downloadable block item alignment (#65677)
Browse files Browse the repository at this point in the history
* Block Directory: Fix downloadable block item alignment

* Add a comment to explain the extra margin

Co-authored-by: Marco Ciampini <[email protected]>

* Fix indentation

---------

Co-authored-by: Marco Ciampini <[email protected]>

Co-authored-by: tyxla <[email protected]>
Co-authored-by: ciampo <[email protected]>
  • Loading branch information
3 people authored and gutenbergplugin committed Sep 26, 2024
1 parent 7d65e11 commit 4188bbb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
align-items: center;
justify-content: center;
}

.is-installing & {
// Adding an extra 6px to avoid the UI from jumping when the rating bar gets hidden
margin-right: $grid-unit-20 + 6px;
}
}

.block-directory-block-ratings {
Expand Down

0 comments on commit 4188bbb

Please sign in to comment.