Skip to content

Commit 0891f12

Browse files
author
Alexandros Nikolopoulos
committed
ui tweaks
1 parent 10d617a commit 0891f12

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tilework.ui/Components/Shared/LoadBalancerLogViewerPanel.razor

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
{
4747
<MudTable T="LoadBalancerLogEntry" Items="@_entries" Dense="true" Hover="true"
4848
Outlined="false" Elevation="0" Square="true" FixedHeader="true" Virtualize="true"
49-
Height="calc(100dvh - 26rem)" ItemSize="40"
50-
HorizontalScrollbar="true" Breakpoint="Breakpoint.Sm"
51-
Class="tilework-lb-log-table" aria-label="@Title">
49+
Height="auto" ItemSize="24"
50+
Breakpoint="Breakpoint.Sm"
51+
Class="tilework-lb-log-table" ContainerClass="overflow-visible" CellClass="py-0" aria-label="@Title">
5252
<ColGroup>
5353
<col style="width: 3rem" />
5454
<col style="width: 15rem" />
@@ -84,32 +84,32 @@
8484
OnClick="@(() => ToggleDetails(context))"
8585
title="@(IsExpanded(context) ? "Hide request details" : "Show request details")" />
8686
</MudTd>
87-
<MudTd DataLabel="Timestamp" Class="tilework-lb-log-timestamp">@FormatTimestamp(context.Timestamp)</MudTd>
87+
<MudTd DataLabel="Timestamp" Class="tilework-lb-log-timestamp"><code>@FormatTimestamp(context.Timestamp)</code></MudTd>
8888
<MudTd DataLabel="Action">
8989
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1" title="@FormatAction(context)">
9090
<MudIcon Icon="@GetActionIcon(context.Action)"
9191
Color="@(context.Action == LoadBalancerLogAction.ForwardingFailed ? Color.Error : Color.Default)"
9292
Size="Size.Small" />
9393
@if (!string.IsNullOrWhiteSpace(context.Backend))
9494
{
95-
<span>@context.Backend</span>
95+
<code>@context.Backend</code>
9696
}
9797
</MudStack>
9898
</MudTd>
9999
<MudTd DataLabel="Source"><code>@context.SourceAddress</code></MudTd>
100100
<MudTd DataLabel="Host"><code>@(context.HostHeader ?? "")</code></MudTd>
101101
<MudTd DataLabel="Request" Class="tilework-lb-log-request">
102102
<div class="tilework-lb-log-request-content">
103-
<MudChip T="string" Size="Size.Small" Color="Color.Primary">@context.Method.Method</MudChip>
103+
<MudChip T="string" Size="Size.Small" Color="Color.Primary"><code>@context.Method.Method</code></MudChip>
104104
<code class="tilework-lb-log-path" title="@context.Path">@context.Path</code>
105105
</div>
106106
</MudTd>
107107
<MudTd DataLabel="Status">
108108
<MudChip T="string" Size="Size.Small" Variant="Variant.Outlined" Color="@GetStatusColor(context.StatusCode)">
109-
@((int)context.StatusCode)
109+
<code>@((int)context.StatusCode)</code>
110110
</MudChip>
111111
</MudTd>
112-
<MudTd DataLabel="Total time" Class="tilework-lb-log-number">@context.TotalTimeMilliseconds.ToString("N0", CultureInfo.InvariantCulture) ms</MudTd>
112+
<MudTd DataLabel="Total time" Class="tilework-lb-log-number"><code>@context.TotalTimeMilliseconds.ToString("N0", CultureInfo.InvariantCulture) ms</code></MudTd>
113113
</RowTemplate>
114114
<ChildRowContent>
115115
@if (IsExpanded(context))

0 commit comments

Comments
 (0)