v2.1.4
What's Changed
Component Changes
- [OP-230] Update card to not use contain paint by @Jeremy-Walton in #281
contain: paintwas 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-radiusrather thanborder-radius: var(--my-setting)so that the fix for the header and footer will match the overall radius. - If your application was setting
contain: unsetto avoid the overflow problems caused bycontain: paint, you can remove that as it is no longer needed.
Dependencies
- Bump vite from 5.4.14 to 5.4.19 by @dependabot in #280
Repository Changes
New Contributors
Full Changelog: v2.1.3...v2.1.4