Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/wp-includes/css/media-views.css
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,17 @@ select#media-attachment-date-filters {
max-width: calc( 33% - 20px );
}

/*
* Keep the search field visible in the media modal when plugins add extra
* filters that make the toolbar scroll. Pinning the search field to the top
* of the scrollable toolbar leaves the filters scrollable while the search
* field stays in view. See #64321.
*/
.media-modal .attachments-browser .media-toolbar-primary {
position: sticky;
top: 0;
}

.mode-grid .attachments-browser .media-toolbar-primary {
display: flex;
align-items: center;
Expand Down
Loading