Skip to content

Commit 2784385

Browse files
committed
Media: Fix input position shift during admin search.
Avoid layout element shift by setting position attributes on `.media-bg-overlay` in all viewports, avoiding redraw of flex layout. Props abduremon, mohamedahamed, wildworks, khokansardar, darshitrajyaguru97, joedolson. Fixes #65296. git-svn-id: https://develop.svn.wordpress.org/trunk@62469 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c51fdf2 commit 2784385

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/wp-includes/css/media-views.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,6 +1834,10 @@ select#media-attachment-date-filters {
18341834
visibility: visible;
18351835
}
18361836

1837+
.media-bg-overlay {
1838+
position: absolute;
1839+
}
1840+
18371841
/**
18381842
* Attachment Details
18391843
*/
@@ -2901,7 +2905,6 @@ select#media-attachment-date-filters {
29012905
width: 100%;
29022906
height: 100%;
29032907
display: none;
2904-
position: absolute;
29052908
left: 0;
29062909
right: 0;
29072910
top: 0;

0 commit comments

Comments
 (0)