-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show list of patterns in template part sidebar in focus mode #47507
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,10 @@ | |
min-width: auto; | ||
} | ||
} | ||
|
||
& .block-editor-block-patterns-list__item .block-editor-block-preview__container { | ||
border: 1px solid $gray-300; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What would be a good mechanism to highlight patterns when they are not hovered/selected? I found that if the pattern has a white background it does not stand out of its own in the list. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We might consider making a var for that, if we're going to start using it in different places. |
||
} | ||
} | ||
|
||
h3.edit-site-template-card__template-areas-title { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: need to implement actually replacing the template part with the pattern's content.