From a90d82fb0b36bec03b757a20c01567c33466b531 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 15 Jan 2019 07:47:27 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/common.css | 71 ++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index e8fed6bffa..b6fe8c0c75 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -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 */