Feat: Analogeingänge (Messwerteingänge) Modal
This commit is contained in:
@@ -91,16 +91,26 @@ export default function AnalogInputsChartModal({
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Title */}
|
||||
<div className="flex items-center justify-between mb-3 pr-14">
|
||||
{/* Title row (align like IsoChartView) */}
|
||||
<div className="flex justify-between items-center mb-2 pr-24">
|
||||
<Dialog.Title className="text-lg font-semibold text-gray-700">
|
||||
Messkurve Messwerteingang {selectedId ?? "–"}
|
||||
</Dialog.Title>
|
||||
</div>
|
||||
|
||||
{/* Chart */}
|
||||
<div className="flex-1 min-h-0">
|
||||
<AnalogInputsChart loading={loading} setLoading={setLoading} />
|
||||
{/* Chart container (structure similar to IsoChartView) */}
|
||||
<div
|
||||
style={{
|
||||
flex: 1,
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
height: "90%",
|
||||
}}
|
||||
>
|
||||
{/* Optional: place an action bar here if needed */}
|
||||
<div style={{ flex: 1, height: "90%" }}>
|
||||
<AnalogInputsChart loading={loading} setLoading={setLoading} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Dialog.Panel>
|
||||
|
||||
Reference in New Issue
Block a user