From 7e0fba8a377cad3a429815379b1002b27c9afe42 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 16 Jul 2020 16:27:11 +0200 Subject: Fix samples in tabs not having content unless clicked --- plugins/base/src/main/resources/dokka/styles/style.css | 12 ++++++------ 1 file 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 { -- cgit