From b783439932372e823c36776c53cda5bdc8d0ccae Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 16 Jun 2022 18:36:20 +0200 Subject: Make long property names breakable (#2537) --- .../main/kotlin/translators/documentables/DefaultPageCreator.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/base') diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index c5136c27..52811961 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -760,7 +760,12 @@ open class DefaultPageCreator( headers("Name", "Summary") ) ) { key, props -> - link(key, props.first().dri, kind = ContentKind.Main) + link( + text = key, + address = props.first().dri, + kind = ContentKind.Main, + styles = setOf(ContentStyle.RowTitle) + ) sourceSetDependentHint(props.dri, props.sourceSets, kind = ContentKind.SourceSetDependentHint) { props.forEach { +buildSignature(it) -- cgit