on master help sign in
Switching implementation to better one
06429fcMatilde Park
sass/_main.scss−5
@@ -76,11 +76,6 @@ iframe {
76 font-size: inherit;
76 font-size: inherit;
77 line-height: inherit;
77 line-height: inherit;
78 }
78 }
79− li a:focus {
80− outline: 0;
81− border: none;
82− -moz-outline-style: none;
83− }
84}
79}
85
80
86.content-nav-icon {
81.content-nav-icon {
static/scripts.js+1−1
@@ -335,7 +335,7 @@ let docsNavScroll = function() {
335 let docsNav = document.querySelectorAll("ul.content-nav__index a")
335 let docsNav = document.querySelectorAll("ul.content-nav__index a")
336 for (let link in docsNav) {
336 for (let link in docsNav) {
337 if (window.location.href.includes(docsNav[link].href)) {
337 if (window.location.href.includes(docsNav[link].href)) {
338− docsNav[link].focus()
338+ docsNav[link].scrollIntoView()
339 }
339 }
340 }
340 }
341}
341}