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 <marco.ciampo@gmail.com>

* Fix indentation

---------

Co-authored-by: Marco Ciampini <marco.ciampo@gmail.com>

Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
  • Loading branch information
3 people authored Sep 26, 2024
1 parent b1f07db commit 3fd5a61
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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

1 comment on commit 3fd5a61

@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 in 3fd5a61.
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/11055559881
📝 Reported issues:

Please sign in to comment.