Skip to content

v2.1.4

Choose a tag to compare

@Jeremy-Walton Jeremy-Walton released this 26 Jun 01:04
· 28 commits to main since this release

What's Changed

Component Changes

  • [OP-230] Update card to not use contain paint by @Jeremy-Walton in #281
    • contain: paint was being used on card to prevent an issue with setting a background color on the card header or footer and not being clipped by the card radius. That caused issues with tooltips or other contents being clipped by the card. This fix introduces a component scoped variable to define the border radius and handle those cases. See the pull request for details.
    • If your application is customizing card and changing the border radius, consider setting the component scoped variable --_op-card-radius rather than border-radius: var(--my-setting) so that the fix for the header and footer will match the overall radius.
    • If your application was setting contain: unset to avoid the overflow problems caused by contain: paint, you can remove that as it is no longer needed.

Dependencies

Repository Changes

New Contributors

Full Changelog: v2.1.3...v2.1.4