2024-05-03 20:08:52 +02:00
|
|
|
form .field {
|
|
|
|
display: flex;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
margin-bottom: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-05-03 23:17:19 +02:00
|
|
|
form .form--two-column {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: grid;
|
|
|
|
grid: inherit;
|
|
|
|
grid-template-columns: 1 / -1;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-05-03 23:17:19 +02:00
|
|
|
form .form--two-column > .field, form .form--two-column > li {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
gap: var(--padding-normal);
|
|
|
|
}
|
|
|
|
|
2024-05-03 23:17:19 +02:00
|
|
|
form .with-error {
|
2024-05-03 20:08:52 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
form label {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
align-self: center;
|
|
|
|
}
|