diff options
Diffstat (limited to 'plugins/base')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 | ||||
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index a6c7e326..951f0973 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -853,7 +853,9 @@ open class HtmlRenderer( content() div(classes = "footer") { span("go-to-top-icon") { - a(href = "#content") + a(href = "#content"){ + id = "go-to-top-link" + } } span { configuration?.footerMessage?.takeIf { it.isNotEmpty() } diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 5008d0ba..d68b495a 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -497,6 +497,7 @@ body, table { font-size: var(--default-font-size); line-height: 24px; margin: 0; + height: 100%; } table { @@ -1003,6 +1004,11 @@ td.content { color: var(--breadcrumb-font-color); } +.footer span.go-to-top-icon > #go-to-top-link { + padding: 0; + border: none; +} + .footer .padded-icon { padding-left: 0.5em; } |