diff --git a/OTLPView/Components/FilterDialog.razor b/OTLPView/Components/FilterDialog.razor
index 6840560..3d33cff 100644
--- a/OTLPView/Components/FilterDialog.razor
+++ b/OTLPView/Components/FilterDialog.razor
@@ -1,17 +1,19 @@
@using Microsoft.Fast.Components.FluentUI;
-
-
+
+
-
+
-
-
+
-Cancel
-Apply Filter
-@if (Content is { })
-{
-
-}
+
+ Cancel
+ Apply Filter
+ @if (Content is { })
+ {
+
+ }
+
+
diff --git a/OTLPView/Pages/LogViewer.razor.cs b/OTLPView/Pages/LogViewer.razor.cs
index 40ac4ce..8f451fa 100644
--- a/OTLPView/Pages/LogViewer.razor.cs
+++ b/OTLPView/Pages/LogViewer.razor.cs
@@ -116,18 +116,13 @@ private void OpenFilter(LogFilter entry)
Fluent.DialogParameters parameters = new()
{
OnDialogResult = DialogService.CreateDialogCallback(this, HandleDialog),
- ShowTitle = false,
- ShowDismiss = false,
-
- Width = "600px",
- Height = "100px",
+ Title = "Filter",
+ Alignment = Fluent.HorizontalAlignment.Right,
Content = entry,
- TrapFocus = true,
- Modal = true,
PrimaryAction = null,
SecondaryAction = null,
};
- DialogService.ShowDialog(parameters);
+ DialogService.ShowPanel(parameters);
}
private async Task HandleDialog(Fluent.DialogResult result)