Accessibility: Media: Improve the Media Modal spinner position after [46418].

Fixes #47138.


git-svn-id: https://develop.svn.wordpress.org/trunk@46549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2019-10-15 16:45:08 +00:00
parent 3fb04abf15
commit 6e133af382
2 changed files with 5 additions and 2 deletions

View File

@ -151,7 +151,7 @@ AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.pro
this.views.add( this.toolbar );
this.toolbar.set( 'spinner', new wp.media.view.Spinner({
priority: -60
priority: -20
}) );
if ( showFilterByType || this.options.date ) {

View File

@ -1228,7 +1228,6 @@
line-height: 1.38461538;
font-size: 13px;
color: #666;
margin-right: 0.5em;
}
.attachments-browser .no-media {
@ -1680,6 +1679,10 @@
margin: 0 0 5px 5px;
}
.media-frame .instructions + .spinner.is-active {
vertical-align: middle;
}
.media-frame .spinner.is-active {
visibility: visible;
}