aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt4
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css4
2 files changed, 7 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 6b30fc12..8d258461 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -607,7 +607,9 @@ open class HtmlRenderer(
if (path.size > 1) {
buildNavigationElement(path.first(), page)
path.drop(1).forEach { node ->
- text("/")
+ span(classes = "delimiter") {
+ text("/")
+ }
buildNavigationElement(node, page)
}
}
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 7ebf675e..1e5c106c 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -146,6 +146,10 @@ html ::-webkit-scrollbar-thumb {
overflow-wrap: break-word;
}
+.breadcrumbs .delimiter {
+ margin: auto 2px;
+}
+
.tabs-section > .section-tab:first-child,
.platform-hinted > .platform-bookmarks-row > .platform-bookmark:first-child {
margin-left: 0;