mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user