Skip to content

Commit

Permalink
Add horizontal margin to breadcrumbs delimiter (KT-50296)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Dec 22, 2021
1 parent f7db503 commit 28a6655
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
Expand Up @@ -605,7 +605,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)
}
}
Expand Down
4 changes: 4 additions & 0 deletions plugins/base/src/main/resources/dokka/styles/style.css
Expand Up @@ -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;
Expand Down

0 comments on commit 28a6655

Please sign in to comment.