aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-07-16 16:27:11 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-16 19:24:12 +0200
commit7e0fba8a377cad3a429815379b1002b27c9afe42 (patch)
tree9d82cb67158986ba7741f812ab99a2fb6ef954e0 /plugins/base/src/main/resources
parentf2c1f84fd316d91dee91f3189afb9e5257b4be4b (diff)
downloaddokka-7e0fba8a377cad3a429815379b1002b27c9afe42.tar.gz
dokka-7e0fba8a377cad3a429815379b1002b27c9afe42.tar.bz2
dokka-7e0fba8a377cad3a429815379b1002b27c9afe42.zip
Fix samples in tabs not having content unless clicked
Diffstat (limited to 'plugins/base/src/main/resources')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 2bf4db20..8618a60b 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -27,10 +27,6 @@
color: var(--hover-link-color)
}
-.tabs-section-body > *:not([data-active]) {
- display: none;
-}
-
.tabs-section > .section-tab:first-child {
margin-left: 0;
}
@@ -828,8 +824,12 @@ td.content {
background: #F4F4F4;
}
-.platform-hinted > .content:not([data-active]) {
- display: none
+.platform-hinted > .content:not([data-active]),
+.tabs-section-body > *:not([data-active]) {
+ visibility: hidden;
+ height: 0;
+ position: fixed;
+ top: 0;
}
.inner-brief-with-platform-tags {