Administration: Hide skip to toolbar link on small viewports.

Since r55326, the admin sidebar autocloses on small viewports when focus exits the sidebar. Because of this, there is no case where the Skip to Toolbar link will have any function on small viewports.

Props sabernhardt, abcd95, alh0319, mleray, joedolson.
Fixes #63286.
Built from https://develop.svn.wordpress.org/trunk@60286


git-svn-id: http://core.svn.wordpress.org/trunk@59622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2025-06-05 14:03:49 +00:00
parent c90cef9097
commit 03720cec5c
5 changed files with 11 additions and 3 deletions

View File

@@ -3913,6 +3913,10 @@ img {
top: 7px;
}
.screen-reader-shortcut[href="#wp-toolbar"] {
display: none;
}
body {
min-width: 240px;
overflow-x: hidden;

File diff suppressed because one or more lines are too long

View File

@@ -3912,6 +3912,10 @@ img {
top: 7px;
}
.screen-reader-shortcut[href="#wp-toolbar"] {
display: none;
}
body {
min-width: 240px;
overflow-x: hidden;

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60285';
$wp_version = '6.9-alpha-60286';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.