Applies miscellaneous configuration and UI fixes

This commit is contained in:
BinaryAlley committed 2026-08-09 13:18:16 -07:00
1 parent a7c742d681
commit e0064a56f9
6 files changed
+6 -5

No files matched your search

@@ -95,6 +95,7 @@ public class LibraryManagementController : Controller
[RequirePermission(AuthorizationPermission.CanCreateLibraries)]
public async Task<IActionResult> SaveLibrary([FromBody] LibraryModel data, CancellationToken cancellationToken)
{
// TODO: 1. this also needs to send the image files themselves to the API, since the server could be remote; for now, it assumes local paths which it can later read, which works only if the server is local too
// call different API endpoints based on whether this is a new library or an existing one
LibraryModel response = data.Id.HasValue
? await _apiHttpClient.PutAsync<LibraryModel, LibraryModel>($"libraries/{data.Id}", data, cancellationToken).ConfigureAwait(false)
@@ -7,12 +7,12 @@
height: 100%;
background-color: #000000;
opacity: 0.6;
z-index: 1998;
z-index: 998;
}
.dialog-container {
display: none;
position: absolute;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
@@ -107,7 +107,7 @@ main {
#modal-background-article {
display: none;
z-index: 998;
position: absolute;
position: fixed;
top: 0px;
left: 0px;
min-width: 100%;