diff --git a/Iceshrimp.Frontend/Components/ProfileInfo.razor b/Iceshrimp.Frontend/Components/ProfileInfo.razor index f2fe789f..a8ce4e85 100644 --- a/Iceshrimp.Frontend/Components/ProfileInfo.razor +++ b/Iceshrimp.Frontend/Components/ProfileInfo.razor @@ -29,6 +29,13 @@ @Loc["Automated"] } + @if (UserProfile.IsLocked) + { + + + @Loc["Private"] + + } @if (UserProfile.Bio != null) { diff --git a/Iceshrimp.Frontend/Components/ProfileInfo.razor.css b/Iceshrimp.Frontend/Components/ProfileInfo.razor.css index b03fbc73..af57fc75 100644 --- a/Iceshrimp.Frontend/Components/ProfileInfo.razor.css +++ b/Iceshrimp.Frontend/Components/ProfileInfo.razor.css @@ -60,10 +60,18 @@ ::deep { .badge .ph { + display: inline-block; vertical-align: text-bottom; } } +::deep { + /* For some reason ph-lock aligns differently than the other icons. This fixes that */ + .badge .ph-lock { + vertical-align: middle; + } +} + @media (max-width: 640px) { ::deep .field { flex-direction: column;