Fix spacing StatusMap

This commit is contained in:
Samuele Locatelli
2023-12-22 10:38:18 +01:00
parent 4ffe8e3c44
commit 884d5885f7
+5 -2
View File
@@ -1,6 +1,7 @@
@page "/status-map"
<MseSampler SampleMult="1.5" E_Updated="SaveData"></MseSampler>
<div class="pe-2">
<div class="row mb-2">
@if (ListMSE == null || ListMSE.Count == 0 || isCalcSize)
{
@@ -13,13 +14,14 @@
@foreach (var item in ListMSE)
{
currIdx++;
<div class="col">
<div class="col px-1">
<MachineBlock RecMSE="@item" FullMode="true" Width="@Width" Height="@Height" showCard="@ShowCard"></MachineBlock>
</div>
@if (currIdx >= maxBlocks)
{
currIdx = 0;
@((MarkupString)"</div><div class=\"row mb-2\">")
@((MarkupString)"</div>")
@((MarkupString)"<div class=\"row mb-2\">")
}
}
// controllo se devo "chiudere riga...
@@ -30,4 +32,5 @@
currNum++;
}
}
</div>
</div>