mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
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:
parent
0a9bfead1c
commit
db523ad623
@ -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;
|
||||
}
|
||||
}
|
||||
|
2
wp-admin/css/edit-rtl.min.css
vendored
2
wp-admin/css/edit-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
}
|
||||
|
2
wp-admin/css/edit.min.css
vendored
2
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user