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
-
-
+
+
+
@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;
+}