diff --git a/docs/public/css/style.css b/docs/public/css/style.css index d63e8282..93601370 100644 --- a/docs/public/css/style.css +++ b/docs/public/css/style.css @@ -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; + } } } diff --git a/docs/templates/default.html.j2 b/docs/templates/default.html.j2 index 67030e05..ee39e93c 100644 --- a/docs/templates/default.html.j2 +++ b/docs/templates/default.html.j2 @@ -18,7 +18,7 @@
{{ item.command }}
+ data-bs-toggle="collapse" data-bs-target="#result{{ resultID }}" aria-expanded="false" aria-controls="result{{ resultID }}">Show resultHide result
{{ item.result }}