Admin: Make the Help tab available on small screens.

Props jobthomas, xkon.
Fixes #43221.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2019-01-15 00:20:50 +00:00
parent d2695fe283
commit 11e9c98d5b
5 changed files with 77 additions and 7 deletions

View File

@ -2926,6 +2926,42 @@ div.action-links {
padding: 12px 16px 0;
height: 46px;
}
/* Fix help tab columns for smaller screens */
#screen-meta #contextual-help-wrap {
overflow: visible;
}
#screen-meta #contextual-help-back,
#screen-meta .contextual-help-sidebar {
display: none;
}
#screen-meta .contextual-help-tabs {
clear: both;
width: 100%;
float: none;
}
#screen-meta .contextual-help-tabs ul {
margin: 0 0 1em;
padding: 1em 0 0;
}
#screen-meta .contextual-help-tabs .active {
margin: 0;
}
#screen-meta .contextual-help-tabs-wrap {
clear: both;
max-width: 100%;
float: none;
}
#screen-meta-links {
margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
}
}
/* Thickbox for the Plugin details modal. */
@ -3723,7 +3759,6 @@ img {
}
/* Hidden Elements */
#contextual-help-link-wrap,
#collapse-menu,
.post-format-select {
display: none !important;

File diff suppressed because one or more lines are too long

View File

@ -2926,6 +2926,42 @@ div.action-links {
padding: 12px 16px 0;
height: 46px;
}
/* Fix help tab columns for smaller screens */
#screen-meta #contextual-help-wrap {
overflow: visible;
}
#screen-meta #contextual-help-back,
#screen-meta .contextual-help-sidebar {
display: none;
}
#screen-meta .contextual-help-tabs {
clear: both;
width: 100%;
float: none;
}
#screen-meta .contextual-help-tabs ul {
margin: 0 0 1em;
padding: 1em 0 0;
}
#screen-meta .contextual-help-tabs .active {
margin: 0;
}
#screen-meta .contextual-help-tabs-wrap {
clear: both;
max-width: 100%;
float: none;
}
#screen-meta-links {
margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
}
}
/* Thickbox for the Plugin details modal. */
@ -3723,7 +3759,6 @@ img {
}
/* Hidden Elements */
#contextual-help-link-wrap,
#collapse-menu,
.post-format-select {
display: none !important;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44587';
$wp_version = '5.1-beta1-44588';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.