From 277c4e5aef4a97d3d1fefe7569d4eeaefae0c54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=97=A5=E8=AF=AD?= Date: Sat, 26 Oct 2024 20:55:22 +0800 Subject: [PATCH] [fix] tabs mermaid syntax error (#536) --- source/css/_components/tag-plugins/tabs.styl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/css/_components/tag-plugins/tabs.styl b/source/css/_components/tag-plugins/tabs.styl index 47be1cb..c9744cd 100644 --- a/source/css/_components/tag-plugins/tabs.styl +++ b/source/css/_components/tag-plugins/tabs.styl @@ -76,10 +76,13 @@ text-align: justify margin-top: .5rem .tab-pane + display: block &:not(.active) - display: none + visibility: hidden + height: 0 &.active - display: block + visibility: visible + height: auto .tab-content:has(.grid-box) width: 100%