|
46 | 46 | { |
47 | 47 | <MudTable T="LoadBalancerLogEntry" Items="@_entries" Dense="true" Hover="true" |
48 | 48 | 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"> |
52 | 52 | <ColGroup> |
53 | 53 | <col style="width: 3rem" /> |
54 | 54 | <col style="width: 15rem" /> |
|
84 | 84 | OnClick="@(() => ToggleDetails(context))" |
85 | 85 | title="@(IsExpanded(context) ? "Hide request details" : "Show request details")" /> |
86 | 86 | </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> |
88 | 88 | <MudTd DataLabel="Action"> |
89 | 89 | <MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1" title="@FormatAction(context)"> |
90 | 90 | <MudIcon Icon="@GetActionIcon(context.Action)" |
91 | 91 | Color="@(context.Action == LoadBalancerLogAction.ForwardingFailed ? Color.Error : Color.Default)" |
92 | 92 | Size="Size.Small" /> |
93 | 93 | @if (!string.IsNullOrWhiteSpace(context.Backend)) |
94 | 94 | { |
95 | | - <span>@context.Backend</span> |
| 95 | + <code>@context.Backend</code> |
96 | 96 | } |
97 | 97 | </MudStack> |
98 | 98 | </MudTd> |
99 | 99 | <MudTd DataLabel="Source"><code>@context.SourceAddress</code></MudTd> |
100 | 100 | <MudTd DataLabel="Host"><code>@(context.HostHeader ?? "—")</code></MudTd> |
101 | 101 | <MudTd DataLabel="Request" Class="tilework-lb-log-request"> |
102 | 102 | <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> |
104 | 104 | <code class="tilework-lb-log-path" title="@context.Path">@context.Path</code> |
105 | 105 | </div> |
106 | 106 | </MudTd> |
107 | 107 | <MudTd DataLabel="Status"> |
108 | 108 | <MudChip T="string" Size="Size.Small" Variant="Variant.Outlined" Color="@GetStatusColor(context.StatusCode)"> |
109 | | - @((int)context.StatusCode) |
| 109 | + <code>@((int)context.StatusCode)</code> |
110 | 110 | </MudChip> |
111 | 111 | </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> |
113 | 113 | </RowTemplate> |
114 | 114 | <ChildRowContent> |
115 | 115 | @if (IsExpanded(context)) |
|
0 commit comments