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.

git-svn-id: https://develop.svn.wordpress.org/trunk@32121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-04-14 01:20:39 +00:00
parent 17e3e168d3
commit deaa16216d
1 changed files with 8 additions and 2 deletions

View File

@ -232,13 +232,11 @@
.media-toolbar-primary {
float: right;
height: 100%;
max-width: 33%;
}
.media-toolbar-secondary {
float: left;
height: 100%;
max-width: 66%;
}
.media-toolbar-primary > .media-button,
@ -1078,6 +1076,14 @@
display: none;
}
.attachments-browser .media-toolbar-primary {
max-width: 33%;
}
.attachments-browser .media-toolbar-secondary {
max-width: 66%;
}
.uploader-inline .close {
background-color: transparent;
border: 0;