Skip to content

Commit

Permalink
dropdown: display block
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Apr 25, 2024
1 parent 60f697f commit 069c8a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/components/post-excerpt/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ function PrivateExcerpt() {
: __( 'Edit excerpt' );
return (
<Dropdown
className="editor-post-excerpt__dropdown"
contentClassName="editor-post-excerpt__dropdown__content"
popoverProps={ popoverProps }
focusOnMount
Expand Down
4 changes: 4 additions & 0 deletions packages/editor/src/components/post-excerpt/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
}
}

.editor-post-excerpt__dropdown {
display: block;
}

.editor-post-excerpt__dropdown__content {
.components-popover__content {
min-width: 320px;
Expand Down

0 comments on commit 069c8a4

Please sign in to comment.