web: Enhance accordion header interactions for better UX (#12813)

web: Refine accordion headers for pressability.

- Allows user to click or tap anywhere on a accordion header to expand
  or collapse.
- Adds transition to collapse.
This commit is contained in:
Teffen Ellis
2025-02-14 02:10:31 +01:00
committed by GitHub
parent 143b02b51a
commit 49cc70eb96
2 changed files with 68 additions and 10 deletions

View File

@ -125,6 +125,11 @@ html > form > input {
margin-bottom: 6px;
}
.pf-m-pressable {
cursor: pointer;
user-select: none;
}
/* Flow-card adjustments for static pages */
.pf-c-brand {
padding-top: calc(