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:
parent
17e3e168d3
commit
deaa16216d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue