diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-07-23 10:04:04 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-23 14:50:54 +0200 |
commit | 9806f309ae4c16f72f685c5aca1dad5d8159f48f (patch) | |
tree | 17d1f78c5610cefdf0447b1c1dbb9178c75e49a7 /plugins/base/src/main/resources | |
parent | 0069d8328ca84e5ef3d245eada82826c7150e6b4 (diff) | |
download | dokka-9806f309ae4c16f72f685c5aca1dad5d8159f48f.tar.gz dokka-9806f309ae4c16f72f685c5aca1dad5d8159f48f.tar.bz2 dokka-9806f309ae4c16f72f685c5aca1dad5d8159f48f.zip |
Improve performance for work-around with runnable samples CSS
Diffstat (limited to 'plugins/base/src/main/resources')
-rw-r--r-- | plugins/base/src/main/resources/dokka/styles/style.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 646bbfec..e275e493 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -829,6 +829,13 @@ td.content { .platform-hinted > .content:not([data-active]), .tabs-section-body > *:not([data-active]) { + display: none; +} + +/*Work around an issue: https://github.com/JetBrains/kotlin-playground/issues/91*/ +.platform-hinted[data-togglable="Samples"] > .content:not([data-active]), +.tabs-section-body > *[data-togglable="Samples"]:not([data-active]) { + display: block !important; visibility: hidden; height: 0; position: fixed; |