diff --git a/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor b/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor index 5ad8318..a76c893 100644 --- a/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor +++ b/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor @@ -14,39 +14,33 @@ - - - - +
+
+
+
NeoVac – Ablesequittung
- - - - - - - +
+
+
+
+
NeoVac – Anteil (‰)
- - - - - - - - +
+
+
+
+
+
Verwaltung – Ihr Anteil
- - - - - - - - +
+
+
+
+
+
diff --git a/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor.css b/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor.css new file mode 100644 index 0000000..3153dc1 --- /dev/null +++ b/Schaad.Accounting.UI/Components/Pages/Dialogs/WaterHeatingBillDialog.razor.css @@ -0,0 +1,26 @@ +/* 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; +}