diff --git a/src/runtime/scss/tabs.scss b/src/runtime/scss/tabs.scss index b7524a9..85d919c 100644 --- a/src/runtime/scss/tabs.scss +++ b/src/runtime/scss/tabs.scss @@ -48,7 +48,8 @@ } .yfm-tab-panel { - display: none; + visibility: hidden; + height: 0; &:first-child { margin-top: 0 !important; @@ -59,6 +60,7 @@ } &.active { - display: block; + visibility: visible; + height: auto; } }