Skip to content

Commit

Permalink
Make the save button fixed on the server config page.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed May 31, 2024
1 parent 9ce6e01 commit d9d68d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Server/Components/Pages/ServerConfig.razor
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,7 @@
<ValidationMessage For="() => Input.UseHttpLogging" />
</div>

<div class="form-group mt-3">
<button type="button" class="btn btn-primary" @onclick="Save">Save</button>
</div>
<button id="saveButton" type="button" class="btn btn-lg btn-primary" @onclick="Save">Save</button>
</EditForm>
</div>
</div>
6 changes: 6 additions & 0 deletions Server/Components/Pages/ServerConfig.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
overflow-x: hidden;
white-space: nowrap;
border-radius: 5px;
}

#saveButton {
position: fixed;
right: 40px;
bottom: 20px;
}

0 comments on commit d9d68d7

Please sign in to comment.