Skip to content

Commit 2d3a62f

Browse files
committed
Editor: (Classic) Fix "skip to editor" link CSS.
Fix the height, background, and positioning of the skip to editor link in the classic editor, to prevent overflow and override transparent background. Props sabernhardt, huzaifaalmesbah, joedolson. Fixes #64727. Built from https://develop.svn.wordpress.org/trunk@61742 git-svn-id: http://core.svn.wordpress.org/trunk@61048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 2797bb3 commit 2d3a62f

5 files changed

Lines changed: 17 additions & 13 deletions

File tree

wp-admin/css/edit-rtl.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,16 @@
7777
pointer-events: none;
7878
}
7979

80+
#titlewrap .skiplink {
81+
background: #fff;
82+
line-height: 2.30769231; /* 30px for 32px min-height */
83+
min-height: 32px;
84+
left: 4px;
85+
}
86+
8087
#titlewrap .skiplink:focus {
8188
clip: inherit;
8289
clip-path: inherit;
83-
left: 4px;
8490
top: 4px;
8591
width: auto;
8692
}
@@ -1062,10 +1068,6 @@ form#tags-filter {
10621068
#edit-slug-box {
10631069
padding: 0;
10641070
}
1065-
1066-
#titlewrap .skiplink:focus {
1067-
top: 5px;
1068-
}
10691071
}
10701072

10711073
@media only screen and (max-width: 1004px) {

wp-admin/css/edit-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/css/edit.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@
7676
pointer-events: none;
7777
}
7878

79+
#titlewrap .skiplink {
80+
background: #fff;
81+
line-height: 2.30769231; /* 30px for 32px min-height */
82+
min-height: 32px;
83+
right: 4px;
84+
}
85+
7986
#titlewrap .skiplink:focus {
8087
clip: inherit;
8188
clip-path: inherit;
82-
right: 4px;
8389
top: 4px;
8490
width: auto;
8591
}
@@ -1061,10 +1067,6 @@ form#tags-filter {
10611067
#edit-slug-box {
10621068
padding: 0;
10631069
}
1064-
1065-
#titlewrap .skiplink:focus {
1066-
top: 5px;
1067-
}
10681070
}
10691071

10701072
@media only screen and (max-width: 1004px) {

wp-admin/css/edit.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta1-61741';
19+
$wp_version = '7.0-beta1-61742';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)