From 6b925c8fc9f2e5cd0d1c409ad1c06c98ef765a5d Mon Sep 17 00:00:00 2001 From: 6d486f49 <76097bcc@gmail.com> Date: Thu, 4 Jun 2026 14:12:39 -0400 Subject: [PATCH] ... --- Web/PageLayout.razor | 125 +++++++++++++++++---------------------- Web/PageLayout.razor.css | 12 +--- 2 files changed, 56 insertions(+), 81 deletions(-) diff --git a/Web/PageLayout.razor b/Web/PageLayout.razor index 488f497..21c2449 100644 --- a/Web/PageLayout.razor +++ b/Web/PageLayout.razor @@ -11,46 +11,33 @@ + + + + - - - - - - IGP Fan Reference - - + +
+ IGP Fan Reference +
+ @foreach (var page in WebsiteData.GetPages()) { - - - @(page.Name) - + @(page.Name) } -
+ - -
- - - - - @foreach (var page in WebsiteData.GetPages()) - { - @(page.Name) - } - - - - +
+ +
+ @@ -61,9 +48,38 @@
- + + @code { @@ -72,15 +88,9 @@ bool _drawerOpen = true; - void DrawerToggle() - { - _drawerOpen = !_drawerOpen; - } - protected override void OnInitialized() { base.OnInitialized(); - CollectFirstPageLoaded(); } @@ -108,36 +118,7 @@ new Dictionary { { "page", rootUrl } }); } - protected override async Task OnInitializedAsync() - { - await Focus(); - } - - private async Task Focus() - { - // await jsRuntime.InvokeVoidAsync("SetFocusToElement", pageContents); - } - - protected override async void OnAfterRender(bool firstRender) - { - // await jsRuntime.InvokeVoidAsync("SetFocusToElement", pageContents); - } - void IDisposable.Dispose() { } - - void HasChanged() - { - StateHasChanged(); - } - - private void HandleKeyDown(KeyboardEventArgs keyboardEventArgs) - { - if ((keyboardEventArgs.CtrlKey || keyboardEventArgs.MetaKey) && keyboardEventArgs.Key.ToLower() == "k") - { - SearchService.Show(); - } - } - -} \ No newline at end of file +} diff --git a/Web/PageLayout.razor.css b/Web/PageLayout.razor.css index 4e3c97c..1e1cbe0 100644 --- a/Web/PageLayout.razor.css +++ b/Web/PageLayout.razor.css @@ -1,13 +1,7 @@ -.layoutContainer { - height: 100vh; - overflow-y: scroll; - overflow-x: hidden; -} - -.content { - margin-bottom: 64px; +.content { display: flex; min-width: 100%; min-height: 100%; flex-direction: column; -} \ No newline at end of file + padding-top: 16px; +}