diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor
index 763feb1..647d835 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor
@@ -9,27 +9,21 @@
@Icons.Account
-
+
-
+
-
- @if (!CanEdit)
- {
-
- }
- else
- {
-
- }
+
+
+
\ No newline at end of file
diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.cs b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.cs
index c8eaca8..6cd0411 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.cs
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.cs
@@ -53,8 +53,9 @@ public partial class UserRow
private void HandleEditClicked()
{
- CanEdit = true;
+ CanEdit = !CanEdit;
}
+
private async Task HandleRemoveClicked()
{
await OnRemove.InvokeAsync(User);
diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.css b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.css
index 5c0ab4a..30e2589 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.css
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Pages/Users/Components/UserRow.razor.css
@@ -12,3 +12,64 @@
.row > * {
align-content: center;
}
+
+input[disabled], input, input::placeholder {
+ color: var(--white);
+}
+
+input, .role-label {
+ border: none;
+ outline: none;
+ background: none;
+ height: 28px;
+ padding: 0 10px;
+ box-sizing: border-box;
+ border-radius: var(--small-radius);
+ border: solid 1px var(--line);
+ background: rgb(0, 0, 0, 0.2);
+}
+
+ input[disabled], .disabled {
+ border: none;
+ background: none;
+ }
+
+.role-label {
+ display: block;
+ align-content: center;
+ width: fit-content;
+}
+
+.buttons {
+ display: flex;
+ flex-direction: row;
+ gap: 8px;
+ height:auto;
+}
+
+.buttons > * {
+ border: none;
+ outline: none;
+ margin: auto;
+ height: 28px;
+ width: 28px;
+ background: none;
+ border-radius: var(--small-radius);
+ padding: 2px;
+}
+
+.buttons > *:hover, .selected {
+ background: var(--input-selected)
+}
+
+.remove ::deep svg {
+ fill: var(--red);
+}
+
+.edit ::deep svg {
+ fill: var(--yellow);
+}
+
+.submit ::deep svg {
+ fill: var(--green);
+}
diff --git a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor
index 5c1e7f6..410062d 100644
--- a/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor
+++ b/src/GameIdeas/Client/GameIdeas.BlazorApp/Shared/Components/Search/SearchInput.razor
@@ -2,8 +2,7 @@
@using GameIdeas.Shared.Constants
-