From 5d7c9a32cad67946af85567b795cb5c815dbdb72 Mon Sep 17 00:00:00 2001 From: Jeder Date: Thu, 24 Oct 2024 21:47:15 +0200 Subject: [PATCH] [frontend/components] Update styling for profile page --- .../Pages/Settings/Profile.razor | 14 ++++---- .../Pages/Settings/Profile.razor.css | 32 +++++++------------ 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/Iceshrimp.Frontend/Pages/Settings/Profile.razor b/Iceshrimp.Frontend/Pages/Settings/Profile.razor index 17885cd0..5ae539fa 100644 --- a/Iceshrimp.Frontend/Pages/Settings/Profile.razor +++ b/Iceshrimp.Frontend/Pages/Settings/Profile.razor @@ -17,13 +17,13 @@ @if (State is State.Loaded) {
- Profile Description + @Loc["Profile Description"]
- Birthday + @Loc["Birthday"]
- Location + @Loc["Location"]
@Loc["Fields"] @@ -33,7 +33,7 @@
-
@@ -44,11 +44,13 @@
- +
- + @Loc["Save"] diff --git a/Iceshrimp.Frontend/Pages/Settings/Profile.razor.css b/Iceshrimp.Frontend/Pages/Settings/Profile.razor.css index 3ddddd3b..b72aa576 100644 --- a/Iceshrimp.Frontend/Pages/Settings/Profile.razor.css +++ b/Iceshrimp.Frontend/Pages/Settings/Profile.razor.css @@ -1,29 +1,21 @@ -.input { - display: block; - background-color: var(--foreground-color); - border: none; - outline: none; - width: 100%; - border-radius: 0.5rem; - padding: 0.5rem; - margin: 0.5rem +.field, .new-field { + display: flex; + flex-direction: row; + align-items: center; + + .button { + padding: 0.75rem; + margin: 0.2rem; + i { + padding: 0; + } + } } -.body { - max-width: 50rem; -} -.new-field { - display: flex; - flex-direction: row; -} .user-fields { } -.field { - display: flex; -} - .title { font-size: 0.9rem; } \ No newline at end of file