Admin: Use the correct CSS media query for the Help tab on small screens after [44588].

See #43221


git-svn-id: https://develop.svn.wordpress.org/trunk@44604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2019-01-15 07:47:27 +00:00
parent 3a6ffa1d18
commit a90d82fb0b
1 changed files with 35 additions and 36 deletions

View File

@ -2926,42 +2926,6 @@ 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. */
@ -3969,6 +3933,41 @@ img {
line-height: 26px;
height: 28px;
}
/* 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 */
}
}
/* Smartphone */