AccountingNext/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor.css
Claudio Schaad 24dc89d5fb Wasser & Heizung: align labels and inputs in the dialog
Fields sit in a two-column grid with a fixed label width, so labels and inputs line up across all sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:40:32 +01:00

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;
}