Skip to content

Commit

Permalink
fix #103
Browse files Browse the repository at this point in the history
  • Loading branch information
Sben65 committed Jan 27, 2022
1 parent 8453454 commit 0773b6a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/AzureIoTHub.Portal/Client/Pages/Gateways/Logs.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
@using Newtonsoft.Json;


<MudDialog Style="width:fit-content;">
<MudDialog Style="max-width:fit-content;">
<DialogContent>
<MudCard Outlined="true" Style="max-height: 600px; overflow-y: scroll">
<MudCard Outlined="true" Style="width:800px;max-height: 600px; overflow-y: scroll">
<MudCardContent>

<MudItem xs="12">
<MudTable Items="@payloads" Dense=true Breakpoint="Breakpoint.Sm" Hover=true Bordered=true Striped=true>
<ColGroup>
<col style="width: 20%;" />
<col style="width: 10%;" />
<col style="width: 30%;" />
<col style="width: 40%;" />
</ColGroup>

<HeaderContent>
Expand All @@ -26,7 +26,10 @@
@context.TimeStamp
</MudTd>
<MudTd DataLabel="Type" Style="text-align: center">@context.LogLevel</MudTd>
<MudTd DataLabel="NbDevices" Style="text-align: center;word-break: break-all;">@context.Text</MudTd>
<MudTd DataLabel="NbDevices" Style="text-align: center;">
<MudTextField T="string" Text="@context.Text" Lines="3" Disabled="true"></MudTextField>
</MudTd>
@*<MudTd DataLabel="NbDevices" Style="text-align: center;word-break: break-all;">@context.Text</MudTd>*@
</RowTemplate>
<PagerContent>
<MudTablePager PageSizeOptions="@pageSizeOptions"></MudTablePager>
Expand Down

0 comments on commit 0773b6a

Please sign in to comment.