spoiler tag
This commit is contained in:
1 parent
9e8aeb04a1
commit
d73dee6410
6 files changed
+301
-33
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user