Skip to content

Commit

Permalink
Style adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Jan 5, 2023
1 parent 0a44c63 commit b839fd3
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@
display: grid;
width: 100%;
margin-top: $grid-unit-05;
gap: $grid-unit-10;
gap: $grid-unit-30;
grid-template-columns: repeat(auto-fit, minmax(min(100%/2, max(240px, 100%/10)), 1fr));
grid-auto-rows: var(--wp-edit-site-start-template-options-grid-height);
.block-editor-block-patterns-list__list-item {
break-inside: avoid-column;
margin-bottom: $grid-unit-30;
margin-bottom: 0;
width: 100%;

.block-editor-block-preview__container {
height: 100%;
box-shadow: 0 0 0 1px $gray-300;
}

&:hover {
.block-editor-block-preview__container {
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
}
}

.block-editor-block-preview__content {
Expand Down

0 comments on commit b839fd3

Please sign in to comment.