@cbpds/web-components
Version:
Web components for the CBP Design System.
15 lines • 636 B
CSS
/*
* Caution: "global styles" get injected into every component and can cause file size bloat.
* These should only include SASS variables and mixins that are not written out to CSS directly
*/
/*
* The resize observer is a block-level component with a max-width of 100% that grows and shrinks with its parent container,
* so that it can report changes in both directions.
* It allows for overflow, so that its children may still report their full dimensions based on their content and overflow may
* therefore be detected for responsive behavior.
*/
cbp-resize-observer {
max-width: 100%;
display: block;
overflow: visible;
}