Commit 301cb8e797

301cb8e797c5f06b721cdfc29616bae5a1c4c903

parent: e5e0ec4dd9

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-05-24 09:12 UTC

mogu mogu

Layout: unified · split

docs/.vitepress/theme/components/Collapsible.vue +12 −1
@@ -13,7 +13,7 @@ const open = ref(false)
1313 <summary>
1414 <span v-if="open" class="i-iconoir-nav-arrow-down collapsible-icon" />
1515 <span v-else class="i-iconoir-nav-arrow-right collapsible-icon" />
16 {{ title || 'Details' }}
16 <h3 class="collapsible-title">{{ title || 'Details' }}</h3>
1717 </summary>
1818 <slot />
1919 </details>
@@ -37,4 +37,15 @@ summary::-webkit-details-marker {
3737 height: 1em;
3838 flex-shrink: 0;
3939}
40
41.collapsible-title {
42 margin: 0;
43 padding: 0;
44 font-size: inherit;
45 font-weight: inherit;
46 line-height: inherit;
47 color: inherit;
48 letter-spacing: inherit;
49 border: none;
50}
4051</style>
\ No newline at end of file
docs/.vitepress/theme/styles/style.scss +9
@@ -1636,6 +1636,15 @@ html.reduce-blur-effects {
16361636 }
16371637}
16381638
1639/* Collapsible: title="" renders as h3 for search indexing, reset visual styles */
1640.details summary h3 {
1641 margin: 0;
1642 font-size: inherit;
1643 font-weight: inherit;
1644 border: none;
1645 text-decoration: none;
1646}
1647
16391648.vp-doc .vp-card,
16401649.vp-doc .vp-card:hover,
16411650.vp-doc .vp-card:focus,