Media: Prevents clipping of text when scaling image edit screen.

Props sabernhardt, audrasjb, afercia.
See #47115.

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


git-svn-id: http://core.svn.wordpress.org/trunk@46153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
antpb
2019-09-30 16:34:58 +00:00
parent 38e6958698
commit 7c8028febf
19 changed files with 68 additions and 25 deletions

View File

@@ -800,6 +800,11 @@ border color while dragging a file over the uploader drop area */
margin-bottom: 5px;
}
.attachment-details .setting + .description a:focus {
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
.wp_attachment_details .attachment-alt-text-description {
margin-top: 5px;
}
@@ -1114,10 +1119,14 @@ span.imgedit-scale-warn {
padding: 10px;
}
.imgedit-settings .imgedit-original-dimensions {
display: inline-block;
}
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 50px;
width: 80px;
font-size: 14px;
padding: 5px 8px;
}
@@ -1130,6 +1139,11 @@ span.imgedit-scale-warn {
color: #444;
}
.imgedit-settings .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.imgedit-settings .imgedit-scale .button {
margin-bottom: 0;
}