diff --git a/Iceshrimp.Frontend/Components/SettingsMenu.razor.css b/Iceshrimp.Frontend/Components/SettingsMenu.razor.css index c106458b..3e3cfe99 100644 --- a/Iceshrimp.Frontend/Components/SettingsMenu.razor.css +++ b/Iceshrimp.Frontend/Components/SettingsMenu.razor.css @@ -14,7 +14,6 @@ .nav { padding-top: 1rem; - max-width: 10rem; min-width: 10rem; } diff --git a/Iceshrimp.Frontend/Layout/SettingsLayout.razor b/Iceshrimp.Frontend/Layout/SettingsLayout.razor index 061b6414..9925c257 100644 --- a/Iceshrimp.Frontend/Layout/SettingsLayout.razor +++ b/Iceshrimp.Frontend/Layout/SettingsLayout.razor @@ -19,6 +19,3 @@ @Body - -@code { -} \ No newline at end of file diff --git a/Iceshrimp.Frontend/Layout/SettingsLayout.razor.css b/Iceshrimp.Frontend/Layout/SettingsLayout.razor.css index 281c697a..b9aad7bc 100644 --- a/Iceshrimp.Frontend/Layout/SettingsLayout.razor.css +++ b/Iceshrimp.Frontend/Layout/SettingsLayout.razor.css @@ -8,4 +8,10 @@ width: 100%; height: 100%; padding: 2rem; +} + +@media(max-width: 1000px){ + .sidebar { + display: none; + } } \ No newline at end of file diff --git a/Iceshrimp.Frontend/Pages/Settings/Settings.razor b/Iceshrimp.Frontend/Pages/Settings/Settings.razor index d9b849f6..af1d8cbd 100644 --- a/Iceshrimp.Frontend/Pages/Settings/Settings.razor +++ b/Iceshrimp.Frontend/Pages/Settings/Settings.razor @@ -1,9 +1,24 @@ @page "/Settings" -@layout SettingsLayout -@inject NavigationManager Nav; +@using Iceshrimp.Frontend.Components +@using Microsoft.AspNetCore.Components.Sections +@using Iceshrimp.Assets.PhosphorIcons +@using Iceshrimp.Frontend.Localization +@using Microsoft.Extensions.Localization +@inject NavigationManager Nav; +@inject IStringLocalizer Loc; + + + + @Loc["Settings"] + + +
+ +
+ @code { protected override void OnInitialized() { - Nav.NavigateTo("/settings/profile"); + // Nav.NavigateTo("/settings/profile"); } } \ No newline at end of file diff --git a/Iceshrimp.Frontend/Pages/Settings/Settings.razor.css b/Iceshrimp.Frontend/Pages/Settings/Settings.razor.css new file mode 100644 index 00000000..3610f89b --- /dev/null +++ b/Iceshrimp.Frontend/Pages/Settings/Settings.razor.css @@ -0,0 +1,3 @@ +.body { + max-width: 25rem; +} \ No newline at end of file