Skip to content

Commit 5be596a

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@60286 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b381e86 commit 5be596a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/wp-admin/css/common.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3912,6 +3912,10 @@ img {
39123912
top: 7px;
39133913
}
39143914

3915+
.screen-reader-shortcut[href="#wp-toolbar"] {
3916+
display: none;
3917+
}
3918+
39153919
body {
39163920
min-width: 240px;
39173921
overflow-x: hidden;

0 commit comments

Comments
 (0)