Skip to content

Commit 2cc6cad

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. git-svn-id: https://develop.svn.wordpress.org/trunk@61742 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 25c9991 commit 2cc6cad

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/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) {

0 commit comments

Comments
 (0)