Editor: Improve styling of "Add Media" button on mobile and make it more consistent with media buttons added by plugins.
Props FolioVision. Fixes #36999. git-svn-id: https://develop.svn.wordpress.org/trunk@38132 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c1b988a63
commit
90d4614157
@ -1511,17 +1511,14 @@ table.links-table {
|
||||
}
|
||||
|
||||
#wp-content-media-buttons a {
|
||||
font-size: 16px;
|
||||
line-height: 37px;
|
||||
height: 39px;
|
||||
padding: 0 20px 0 15px;
|
||||
font-size: 14px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
|
||||
.wp-media-buttons span.wp-media-buttons-icon,
|
||||
.wp-media-buttons span.jetpack-contact-form-icon {
|
||||
width: 22px !important;
|
||||
margin-top: -3px !important;
|
||||
margin-left: -5px !important;
|
||||
margin-left: -2px !important;
|
||||
}
|
||||
|
||||
.wp-media-buttons .add_media span.wp-media-buttons-icon:before,
|
||||
@ -1572,11 +1569,3 @@ table.links-table {
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
/* Align Add Media + Visual + Text tabs */
|
||||
#wp-content-media-buttons a {
|
||||
font-size: 14px;
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user