aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 03:57:49 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 03:57:49 +0300
commit2f377659e7b5251dceb4df3a6a25fe922edf28c6 (patch)
tree8e6592c5e19840e630ded7c2ac281df79c2958b6
parent743c2a12aef65a10e2ec59a459c67a72b10a556b (diff)
downloaddokka-2f377659e7b5251dceb4df3a6a25fe922edf28c6.tar.gz
dokka-2f377659e7b5251dceb4df3a6a25fe922edf28c6.tar.bz2
dokka-2f377659e7b5251dceb4df3a6a25fe922edf28c6.zip
Use spacer to align tags to right
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
index 5bd346da..220f2f4d 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
@@ -161,6 +161,7 @@ open class KotlinWebsiteHtmlOutputBuilder(
override fun appendPlatforms(platforms: Set<String>) {
val platformsToKind = calculatePlatforms(platforms)
div(to, "tags") {
+ div(to, "spacer") {}
platformsToKind.entries.forEach { (kind, values) ->
values.forEach { value ->
div(to, "tags__tag $kind tag-value-$value") {