Merge pull request #1730 from kubernetes/UC_patch_1
unbold a tags in #docsContent
This commit is contained in:
@@ -81,7 +81,7 @@
|
|||||||
ga('create', 'UA-36037335-10', 'auto');
|
ga('create', 'UA-36037335-10', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
|
|
||||||
// hide docs nav area if no nav is present
|
// hide docs nav area if no nav is present, or if nav only contains a link to the current page
|
||||||
(function () {
|
(function () {
|
||||||
window.addEventListener('DOMContentLoaded', init)
|
window.addEventListener('DOMContentLoaded', init)
|
||||||
|
|
||||||
@@ -97,7 +97,8 @@
|
|||||||
|
|
||||||
// container is built dynamically, so it may not be present on the first runloop
|
// container is built dynamically, so it may not be present on the first runloop
|
||||||
if (container) {
|
if (container) {
|
||||||
if (container.childElementCount === 0) {
|
if (container.childElementCount === 0 || toc.querySelectorAll('a.item').length === 1) {
|
||||||
|
toc.style.display = 'none'
|
||||||
document.getElementById('docsContent').style.width = '100%'
|
document.getElementById('docsContent').style.width = '100%'
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -883,7 +883,7 @@ dd
|
|||||||
max-width: 100%
|
max-width: 100%
|
||||||
|
|
||||||
a
|
a
|
||||||
font-weight: 700
|
//font-weight: 700
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
|
|
||||||
a:visited
|
a:visited
|
||||||
|
|||||||
Reference in New Issue
Block a user