Skip to content

Commit

Permalink
Accessibility: Improve the "Alt text" description styles for small sc…
Browse files Browse the repository at this point in the history
…reens.

Amends [44900].
See #41612.


git-svn-id: https://develop.svn.wordpress.org/trunk@45248 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
afercia committed Apr 18, 2019
1 parent 9e3c57c commit 7c623d5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/wp-includes/css/media-views.css
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@
}

.attachment-details .setting + .description {
clear: both;
font-size: 12px;
font-style: normal;
margin-bottom: 0.5em;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 7c623d5

Please sign in to comment.