ds4/scss/components/shared/_form_group.scss

28 lines
373 B
SCSS
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2022 Johannes Loher
*
* SPDX-License-Identifier: MIT
*/
.ds4-form-group {
2023-07-10 22:23:13 +02:00
clear: both;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 3px 0;
align-items: center;
2023-07-10 22:23:13 +02:00
&--start {
align-items: flex-start;
}
2023-07-10 22:23:13 +02:00
& > * {
flex: 3;
}
2023-07-10 22:23:13 +02:00
&__label {
flex: 2;
line-height: var(--form-field-height);
}
}