From c156c4c1b8153c4fec14731d2e94864075f7905a Mon Sep 17 00:00:00 2001 From: vmishenev Date: Wed, 22 Dec 2021 03:36:46 +0300 Subject: [PATCH] Remove margin-bottom from platform-hinted --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 +++- plugins/base/src/main/resources/dokka/styles/style.css | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index c3b157380f2..6b30fc12f71 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -450,7 +450,9 @@ open class HtmlRenderer( it.filter { sourceSetRestriction == null || it.sourceSets.any { s -> s in sourceSetRestriction } } .forEach { span("inline-flex") { - it.build(this, pageContext, sourceSetRestriction) + div { + it.build(this, pageContext, sourceSetRestriction) + } if (it is ContentLink && !anchorDestination.isNullOrBlank()) buildAnchorCopyButton( anchorDestination ) diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index cbdff59bae5..7ebf675ea82 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -747,7 +747,6 @@ td.content { } .main-subrow .anchor-icon { - padding: 0 8px; opacity: 0; transition: 0.2s 0.5s; } @@ -766,8 +765,9 @@ td.content { .main-subrow .anchor-wrapper { position: relative; - width: 16px; + width: 24px; height: 16px; + margin-left: 3px; } .inline-flex {