diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-07-14 16:08:21 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-15 15:54:47 +0200 |
commit | 2765f2b81e76971d63426d3b77041cf2f2de4432 (patch) | |
tree | e04212803ead18101ca1c67557786c74636f136d /plugins | |
parent | c5b233aca9c81792b6313dc45dd5055cbb24901a (diff) | |
download | dokka-2765f2b81e76971d63426d3b77041cf2f2de4432.tar.gz dokka-2765f2b81e76971d63426d3b77041cf2f2de4432.tar.bz2 dokka-2765f2b81e76971d63426d3b77041cf2f2de4432.zip |
Fix Since Kotlin css view
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 6 | ||||
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 4 |
2 files changed, 7 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 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 { |