mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Media: On Media Settings screen, make the pairs of labels and inputs always stacked vertically, on both mobile and desktop screens.
Make `<br />` tags on the screen behave as line breaks again after [41836]. Add a missing fieldset + legend for better accessibility. Props afercia, RavanH, obenland, garrett-eclipse. Fixes #42724. See #34539. git-svn-id: https://develop.svn.wordpress.org/trunk@42864 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3952,23 +3952,6 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
.options-media-php br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 375px) {
|
||||
.options-media-php input[type="number"][name*="_size_"] {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.options-media-php label[for*="_size_h"]:before {
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
.options-media-php br {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
/* Prevent default center alignment and larger font for the Right Now widget when
|
||||
the network dashboard is viewed on a small mobile device. */
|
||||
|
||||
@@ -438,7 +438,15 @@ fieldset label,
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.options-media-php label[for*="_size_"],
|
||||
.options-media-php [for*="_size_"] {
|
||||
min-width: 10em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.options-media-php .small-text[name*="_size_"] {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#misc-publishing-actions label {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user