ds4/scss/components/shared/_checkbox_grid.scss

27 lines
424 B
SCSS

/*
* SPDX-FileCopyrightText: 2022 Johannes Loher
*
* SPDX-License-Identifier: MIT
*/
.ds4-checkbox-grid {
$gap: 3px;
gap: $gap;
display: grid;
font-size: var(--font-size-12);
grid-template-columns: 1fr 1fr;
&__item {
align-items: center;
display: flex;
gap: $gap;
justify-content: flex-start;
> * {
flex: 0 0 auto;
}
}
&__checkbox[type="checkbox"] {
margin: 0;
}
}