Fix buttons in tutorial to toggle labels when clicked on (#3493)

This commit is contained in:
itchyny authored and GitHub committed 2026-03-02 17:46:58 +09:00
1 parent 2beac1aed0
commit c3d3e7d656
2 files changed
+10 -6

No files matched your search

+9 -5
View File
@@ -52,13 +52,17 @@ pre {
border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}
button{
&[aria-expanded=false] .bi-chevron-down {
display: none;
button {
&[aria-expanded=false] {
.bi-chevron-down, .hide-result-text {
display: none;
}
}
&[aria-expanded=true] .bi-chevron-right {
display: none;
&[aria-expanded=true] {
.bi-chevron-right, .show-result-text {
display: none;
}
}
}