WordPress.org

Make WordPress Core

Changeset 31197


Ignore:
Timestamp:
01/16/2015 02:59:59 AM (6 years ago)
Author:
helen
Message:

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

props valendesigns.
fixes #30725 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r31174 r31197  
    236236
    237237.media-toolbar-secondary {
     238    position: relative;
    238239    float: left;
     240    -webkit-box-sizing: border-box;
     241    -moz-box-sizing: border-box;
     242    box-sizing: border-box;
     243    padding-right: 20px;
    239244    height: 100%;
    240245    max-width: 66%;
     246}
     247
     248.media-toolbar-secondary .spinner {
     249    position: absolute;
     250    top: 2px;
     251    right: 0px;
    241252}
    242253
     
    741752    margin-right: 2%;
    742753    max-width: 47%;
     754    width: 100%; /* prevents options from invisibly taking up horizontal space */
    743755}
    744756
     
    23602372
    23612373    .media-modal .attachments-browser .media-toolbar .spinner {
    2362         margin: 14px 8px 0;
     2374        margin: 14px 0 0;
    23632375    }
    23642376
Note: See TracChangeset for help on using the changeset viewer.