From 2765f2b81e76971d63426d3b77041cf2f2de4432 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 14 Jul 2020 16:08:21 +0200 Subject: Fix Since Kotlin css view --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 6 +++++- plugins/base/src/main/resources/dokka/styles/style.css | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index f1ff9673..8e18547c 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -272,7 +272,11 @@ open class HtmlRenderer( consumer.onTagContentUnsafe { +createHTML().div("brief-with-platform-tags") { - consumer.onTagContentUnsafe { +it.key.first } + consumer.onTagContentUnsafe { + +createHTML().div("inner-brief-with-platform-tags") { + consumer.onTagContentUnsafe { +it.key.first } + } + } consumer.onTagContentUnsafe { +createHTML().span("pull-right") { diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index dc77c0a3..b5c11317 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -832,13 +832,13 @@ td.content { display: none } -.brief-with-platform-tags { +.inner-brief-with-platform-tags { display: inline-block; width: 100%; } .tabs-section-body .brief-with-platform-tags { - display: inline-flex; + display: flex; } .brief-with-platform-tags ~ .main-subrow { -- cgit