spoiler tag

This commit is contained in:
polv committed 2026-03-25 06:24:45 +07:00
1 parent 9e8aeb04a1
commit d73dee6410
6 files changed
+301 -33

No files matched your search

+5 -1
View File
@@ -1,7 +1,7 @@
<template>
<details>
<summary :class="$style.summary">{{ summary }}</summary>
<blockquote>
<blockquote :class="$style.inner">
<slot />
</blockquote>
</details>
@@ -17,4 +17,8 @@ defineProps<{
.summary {
margin-top: -1em !important;
}
.inner p {
margin: 16px 0;
}
</style>