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

Amends [44900].
See #41612.


git-svn-id: https://develop.svn.wordpress.org/trunk@45248 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2019-04-18 21:42:48 +00:00
parent 9e3c57c2ff
commit 7c623d5304
1 changed files with 12 additions and 1 deletions

View File

@ -447,6 +447,7 @@
}
.attachment-details .setting + .description {
clear: both;
font-size: 12px;
font-style: normal;
margin-bottom: 0.5em;
@ -2386,7 +2387,8 @@
.attachment-details .setting input[type="tel"],
.attachment-details .setting input[type="url"],
.attachment-details .setting textarea,
.attachment-details .setting select {
.attachment-details .setting select,
.attachment-details .setting + .description {
float: none;
width: 98%;
max-width: none;
@ -2436,6 +2438,15 @@
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 {
margin-left: 20px;
}