Help/About: Improve Dashboard screen options behavior on small screens.
This changeset improve Dashboard screen options by stacking them vertically on small screens. Props dhrumilk, prashantbhivsane, marybaum, dhruvishah2203, ababir, mukesh27, chiragrathod103, oglekler, tb1909, jahidcse, audrasjb. Fixes #57977. Built from https://develop.svn.wordpress.org/trunk@55984 git-svn-id: http://core.svn.wordpress.org/trunk@55496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
045b72564b
commit
a8efd010bd
|
@ -4123,6 +4123,17 @@ img {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.metabox-prefs-container {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.metabox-prefs-container > * {
|
||||
display: inline-block;
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@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. */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4122,6 +4122,17 @@ img {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.metabox-prefs-container {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.metabox-prefs-container > * {
|
||||
display: inline-block;
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@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. */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1118,6 +1118,7 @@ final class WP_Screen {
|
|||
<?php _e( 'Some screen elements can be shown or hidden by using the checkboxes.' ); ?>
|
||||
<?php _e( 'Expand or collapse the elements by clicking on their headings, and arrange them by dragging their headings or by clicking on the up and down arrows.' ); ?>
|
||||
</p>
|
||||
<div class="metabox-prefs-container">
|
||||
<?php
|
||||
|
||||
meta_box_prefs( $this );
|
||||
|
@ -1137,6 +1138,7 @@ final class WP_Screen {
|
|||
echo _x( 'Welcome', 'Welcome panel' ) . "</label>\n";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</fieldset>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55983';
|
||||
$wp_version = '6.3-alpha-55984';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue