Media: Prevent filter selects from jiggling when the spinner shows.

props valendesigns.
fixes #30725 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@31197 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2015-01-16 02:59:59 +00:00
parent c6ba804b33
commit d266ecd5b2
1 changed files with 13 additions and 1 deletions

View File

@ -235,11 +235,22 @@
}
.media-toolbar-secondary {
position: relative;
float: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding-right: 20px;
height: 100%;
max-width: 66%;
}
.media-toolbar-secondary .spinner {
position: absolute;
top: 2px;
right: 0px;
}
.media-toolbar-primary > .media-button,
.media-toolbar-primary > .media-button-group {
margin-left: 10px;
@ -740,6 +751,7 @@
margin-top: 11px;
margin-right: 2%;
max-width: 47%;
width: 100%; /* prevents options from invisibly taking up horizontal space */
}
/**
@ -2359,7 +2371,7 @@
}
.media-modal .attachments-browser .media-toolbar .spinner {
margin: 14px 8px 0;
margin: 14px 0 0;
}
/* Text inputs need to be 16px, or they force zooming on iOS */