[fix] tabs mermaid syntax error (#536)

This commit is contained in:
星日语 2024-10-26 20:55:22 +08:00 committed by GitHub
parent ab1f133d81
commit 277c4e5aef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -76,10 +76,13 @@
text-align: justify text-align: justify
margin-top: .5rem margin-top: .5rem
.tab-pane .tab-pane
&:not(.active)
display: none
&.active
display: block display: block
&:not(.active)
visibility: hidden
height: 0
&.active
visibility: visible
height: auto
.tab-content:has(.grid-box) .tab-content:has(.grid-box)
width: 100% width: 100%