@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
29 lines • 1.13 kB
CSS
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
/* stylelint-disable-next-line block-no-empty */
/* stylelint-disable-next-line block-no-empty */
:host {
/* `border-collapse: collapse` results in a broken border for sticky header and sticky footer.
* Therefore we need to use `border-collapse: separate` instead.
*/
border-collapse: separate;
border-color: var(--utrecht-table-border-color, 0);
border-spacing: 0;
border-style: solid;
border-width: var(--utrecht-table-border-width, 0);
font-family: var(--utrecht-table-font-family, var(--utrecht-document-font-family));
font-size: var(--utrecht-table-font-size, inherit);
inline-size: 100%;
line-height: var(--utrecht-table-line-height, inherit);
margin-block-end: calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-end, 0));
margin-block-start: calc(var(--utrecht-space-around, 0) * var(--utrecht-table-margin-block-start, 0));
display: table;
}