EightfoldAI / octuple

The Octuple component library
MIT License
16 stars 45 forks source link

Accordion body color does not cover entire body #817

Closed jhoward-eightfold closed 1 month ago

jhoward-eightfold commented 2 months ago

On the element providing the body background color for accordions, there is margin to provide gutters around the sides, but this creates strips without background color. Forward fixed with:

[class*='accordion-body-container'] {
  background-color: var(--accordion-body-background-color);
}

Screenshot 2024-04-16 at 11 26 28 PM

dkilgore-eightfold commented 2 months ago

Use the CSS variable, scoped locally for now.

e.g.

.my-accordion-class {
  --accordion-body-background-color: red;
  ...
}
dkilgore-eightfold commented 1 month ago

Fixed as part of https://github.com/EightfoldAI/octuple/pull/783