-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Labels
Description
Description of the issue
pfe-accordion-panel border alignment is out of whack.
Impacted component(s)
- pfe-accordion
- pfe-content-set
Steps to reproduce
- Go to https://cdpn.io/heyMP/debug/KKvryaL?accordion-with-history=1-2
- Open first accordion item
- Verify that the border on the right has an alignment that is no bueno.
Possible solution
- Go to https://cdpn.io/heyMP/debug/KKvryaL?accordion-with-history=1-2
- Paste the following into the browser
for (let element of [...document.querySelectorAll('pfe-accordion-panel')]) {
let style = document.createElement('style')
style.innerHTML = `:host { box-sizing: border-box; }`;
element.shadowRoot.prepend(style);
}
