Editor: Improve styling of "Add Media" button on mobile and make it more consistent with media buttons added by plugins.

Props FolioVision.
Fixes #36999.
Built from https://develop.svn.wordpress.org/trunk@38132


git-svn-id: http://core.svn.wordpress.org/trunk@38073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-07-21 21:54:32 +00:00
parent 0a9bfead1c
commit db523ad623
5 changed files with 9 additions and 31 deletions

View File

@ -1511,17 +1511,14 @@ table.links-table {
}
#wp-content-media-buttons a {
font-size: 16px;
line-height: 37px;
height: 39px;
padding: 0 15px 0 20px;
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-right: -5px !important;
margin-right: -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;
}
}

File diff suppressed because one or more lines are too long

View File

@ -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;
}
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta4-38131';
$wp_version = '4.6-beta4-38132';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.