Accessibility: Improve the "Alt text" description styles for small screens.

Amends [44900].
See #41612.

Built from https://develop.svn.wordpress.org/trunk@45248


git-svn-id: http://core.svn.wordpress.org/trunk@45057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2019-04-18 21:43:52 +00:00
parent b287642342
commit 22d8c0af3c
5 changed files with 27 additions and 5 deletions

View File

@ -447,6 +447,7 @@
} }
.attachment-details .setting + .description { .attachment-details .setting + .description {
clear: both;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
margin-bottom: 0.5em; margin-bottom: 0.5em;
@ -2386,7 +2387,8 @@
.attachment-details .setting input[type="tel"], .attachment-details .setting input[type="tel"],
.attachment-details .setting input[type="url"], .attachment-details .setting input[type="url"],
.attachment-details .setting textarea, .attachment-details .setting textarea,
.attachment-details .setting select { .attachment-details .setting select,
.attachment-details .setting + .description {
float: none; float: none;
width: 98%; width: 98%;
max-width: none; max-width: none;
@ -2436,6 +2438,15 @@
margin-right: 0; margin-right: 0;
} }
.image-details .embed-media-settings .setting.has-description {
margin-bottom: 5px;
}
.image-details .description {
width: auto;
margin: 0 20px;
}
.image-details .embed-media-settings .custom-size { .image-details .embed-media-settings .custom-size {
margin-right: 20px; margin-right: 20px;
} }

File diff suppressed because one or more lines are too long

View File

@ -447,6 +447,7 @@
} }
.attachment-details .setting + .description { .attachment-details .setting + .description {
clear: both;
font-size: 12px; font-size: 12px;
font-style: normal; font-style: normal;
margin-bottom: 0.5em; margin-bottom: 0.5em;
@ -2386,7 +2387,8 @@
.attachment-details .setting input[type="tel"], .attachment-details .setting input[type="tel"],
.attachment-details .setting input[type="url"], .attachment-details .setting input[type="url"],
.attachment-details .setting textarea, .attachment-details .setting textarea,
.attachment-details .setting select { .attachment-details .setting select,
.attachment-details .setting + .description {
float: none; float: none;
width: 98%; width: 98%;
max-width: none; max-width: none;
@ -2436,6 +2438,15 @@
margin-left: 0; margin-left: 0;
} }
.image-details .embed-media-settings .setting.has-description {
margin-bottom: 5px;
}
.image-details .description {
width: auto;
margin: 0 20px;
}
.image-details .embed-media-settings .custom-size { .image-details .embed-media-settings .custom-size {
margin-left: 20px; margin-left: 20px;
} }

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.2-beta3-45247'; $wp_version = '5.2-beta3-45248';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.