Co-authored-by: Claudio Schaad <c.schaad@pog.ch> Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
26 lines
560 B
CSS
26 lines
560 B
CSS
/* Two columns of fields; each field is a fixed-width label left of an input that fills the rest,
|
|
so labels and inputs line up across rows and sections. */
|
|
.fields {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
column-gap: 24px;
|
|
row-gap: 8px;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field ::deep .fluent-input-label {
|
|
flex: 0 0 140px;
|
|
margin: 0;
|
|
}
|
|
|
|
.field ::deep fluent-number-field,
|
|
.field ::deep fluent-text-field {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
width: auto;
|
|
}
|