Skip to content

Commit

Permalink
Fix: Text overflow in Patterns filter (#66504)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
  • Loading branch information
3 people authored Oct 28, 2024
1 parent d36959d commit 1f9f17c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function PatternsFilter( {
value={ patternSyncFilter }
/>
</MenuGroup>
<div className="block-editor-tool-selector__help">
<div className="block-editor-inserter__patterns-filter-help">
{ createInterpolateElement(
__(
'Patterns are available from the <Link>WordPress.org Pattern Directory</Link>, bundled in the active theme, or created by users on this site. Only patterns created on this site can be synced.'
Expand Down
7 changes: 7 additions & 0 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,13 @@ $block-inserter-tabs-height: 44px;
margin-top: $grid-unit-30;
}

.block-editor-inserter__patterns-filter-help {
padding: $grid-unit-20;
border-top: $border-width solid $gray-300;
color: $gray-700;
min-width: 280px;
}

.block-editor-inserter__media-list,
.block-editor-block-patterns-list {
overflow-y: auto;
Expand Down

1 comment on commit 1f9f17c

@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 1f9f17c.
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/11555746672
📝 Reported issues:

Please sign in to comment.