aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt4
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css3
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 8c7707f8..ecc7cf1a 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -370,8 +370,8 @@ open class DefaultPageCreator(
}.run {
documentable.sourceSets.forEach { sourceSet ->
this[sourceSet]?.also { tag ->
- group(sourceSets = setOf(sourceSet)) {
- header(4, (tag as CustomTagWrapper).name)
+ group(sourceSets = setOf(sourceSet), kind = ContentKind.Comment, styles = setOf(TextStyle.Block)) {
+ header(4, tag.name)
comment(tag.root)
}
}
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 118d247a..4acf6cb2 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -816,7 +816,8 @@ td.content {
}
.brief-with-platform-tags {
- display: inline-block;
+ display: flex;
+ flex-direction: column;
width: 100%;
}