feat: change message of collapse button

This commit is contained in:
Himadri Bhattacharjee
2025-09-16 17:59:55 +05:30
parent 192a72f637
commit 968809ea0a
2 changed files with 9 additions and 1 deletions

View File

@@ -158,6 +158,10 @@ math {
.container label {
border: var(--narrow-separator) solid var(--pro);
&::after {
content: 'Expand explanation';
}
}
}
@@ -173,6 +177,10 @@ math {
border: var(--narrow-separator) solid var(--fog);
padding: var(--narrow-separator) var(--small-gap);
border-radius: var(--gap);
&::after {
content: 'Collapse explanation';
}
}

View File

@@ -1,6 +1,6 @@
<div class="collapsable-explanation">
<div class="container">
<label><input type="checkbox"> Collapse explanation</label>
<label><input type="checkbox"></label>
</div>
{{ .Inner | .Page.RenderString }}
<div class="container"></div>