WordPress.org

Make WordPress Core

Changeset 35532


Ignore:
Timestamp:
11/04/2015 11:42:38 PM (5 years ago)
Author:
pento
Message:

Media Library: After [35499], increase the specificity of our selectors so that they don't cause problems for the wp-admin Media Library page.

Props aaronrutley.

Fixes #32005.

File:
1 edited

Legend:

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

    r35499 r35532  
    215215    background: #fcfcfc;
    216216    -webkit-font-smoothing: subpixel-antialiased;
     217}
     218
     219.media-modal-content .media-frame select.attachment-filters {
     220    margin-top: 11px;
     221    margin-right: 2%;
     222    width: 42%;
     223    width: -webkit-calc(48% - 12px);
     224    width: calc(48% - 12px);
     225}
     226
     227.media-modal-content .attachments-browser .media-toolbar-secondary {
     228    width: 66%;
     229}
     230
     231.media-modal-content .media-toolbar-primary.search-form {
     232    width: 33%;
     233}
     234
     235.media-modal-content .media-toolbar-primary .media-button {
     236    float: right;
     237}
     238
     239.media-modal-content .attachments-browser .search {
     240    width: 100%;
    217241}
    218242
     
    753777    margin-top: 11px;
    754778    margin-right: 2%;
    755     width: 42%;
    756     width: -webkit-calc(48% - 12px);
    757     width: calc(48% - 12px);
     779    max-width: 42%;
     780    max-width: -webkit-calc(48% - 12px);
     781    max-width: calc(48% - 12px);
    758782}
    759783
     
    10821106
    10831107.attachments-browser .media-toolbar-primary {
    1084     width: 33%;
     1108    max-width: 33%;
    10851109}
    10861110
    10871111.attachments-browser .media-toolbar-secondary {
    1088     width: 66%;
    1089 }
    1090 
    1091 .attachments-browser .search {
    1092     width: 100%;
     1112    max-width: 66%;
    10931113}
    10941114
Note: See TracChangeset for help on using the changeset viewer.