Skip to content

Commit 242fd08

Browse files
authored
fix(accordion): large panel accent not covering whole side panel (#2438)
* fix(accordion): removing position relative from body class * chore: changeset * fix: reverting previous fix, adding overflow hidden to body class * chore: updating changeset
1 parent c2e901f commit 242fd08

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/wild-falcons-do.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@patternfly/elements": patch
3+
---
4+
5+
`<pf-accordion>`: fixed issue where accent would not display full height if the following conditions were met:
6+
- `pf-accordion` was set to `large`
7+
- `pf-accordion-panel` slotted content had padding or margins

elements/pf-accordion/BaseAccordionPanel.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
.body {
2222
position: relative;
23+
overflow: hidden;
2324
}
2425

2526
.body:after {

0 commit comments

Comments
 (0)