ds4/scss/components/shared/_checkbox_grid.scss

28 lines
424 B
SCSS
Raw Permalink Normal View History

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