From 555d1108f5d6a206d66ccd0e08f5d48d5390e599 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 9 Nov 2024 05:15:00 +0100 Subject: [PATCH] [backend/razor] Move navbar placeholder into the NavBar component --- Iceshrimp.Backend/Components/Generic/NavBar.razor | 1 + Iceshrimp.Backend/Components/Generic/NavBar.razor.css | 4 ++++ Iceshrimp.Backend/wwwroot/css/admin.css | 4 ---- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Iceshrimp.Backend/Components/Generic/NavBar.razor b/Iceshrimp.Backend/Components/Generic/NavBar.razor index 201dd16a..47222a69 100644 --- a/Iceshrimp.Backend/Components/Generic/NavBar.razor +++ b/Iceshrimp.Backend/Components/Generic/NavBar.razor @@ -131,6 +131,7 @@ + @code { diff --git a/Iceshrimp.Backend/Components/Generic/NavBar.razor.css b/Iceshrimp.Backend/Components/Generic/NavBar.razor.css index 6e22d944..317291a3 100644 --- a/Iceshrimp.Backend/Components/Generic/NavBar.razor.css +++ b/Iceshrimp.Backend/Components/Generic/NavBar.razor.css @@ -1,3 +1,7 @@ +.navbar-placeholder { + margin-top: 60px; +} + .navbar { position: absolute; left: 0; diff --git a/Iceshrimp.Backend/wwwroot/css/admin.css b/Iceshrimp.Backend/wwwroot/css/admin.css index c31ddbc3..48ea1a8f 100644 --- a/Iceshrimp.Backend/wwwroot/css/admin.css +++ b/Iceshrimp.Backend/wwwroot/css/admin.css @@ -13,8 +13,4 @@ p { .width30 { width: 30ch; -} - -body { - margin-top: 60px; } \ No newline at end of file