Make WordPress Core

Changeset 32121


Ignore:
Timestamp:
04/14/2015 01:20:39 AM (9 years ago)
Author:
azaozz
Message:

Fix the media modal Insert into post button on narrow screens by limiting the width of .media-toolbar-primary and .media-toolbar-secondary only inside .attachments-browser (the top toolbar).
Props iseulde, DrewAPicture. Fixes #31908.

File:
1 edited

Legend:

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

    r32120 r32121  
    233233    float: right;
    234234    height: 100%;
    235     max-width: 33%;
    236235}
    237236
     
    239238    float: left;
    240239    height: 100%;
    241     max-width: 66%;
    242240}
    243241
     
    10791077}
    10801078
     1079.attachments-browser .media-toolbar-primary {
     1080    max-width: 33%;
     1081}
     1082
     1083.attachments-browser .media-toolbar-secondary {
     1084    max-width: 66%;
     1085}
     1086
    10811087.uploader-inline .close {
    10821088    background-color: transparent;
Note: See TracChangeset for help on using the changeset viewer.