web: Fix save manager styling

This commit is contained in:
Daniel Jacobs 2023-04-24 09:47:03 -04:00 committed by Nathan Adams
parent 526fe98ffb
commit 5e31ce992e
1 changed files with 10 additions and 7 deletions

View File

@ -286,20 +286,18 @@ ruffleShadowTemplate.innerHTML = `
}
#save-manager {
width: 100%;
height: 100%;
position: absolute;
height: inherit;
user-select: text;
}
#modal-area {
position: fixed;
position: sticky;
background: white;
width: fit-content;
padding: 16px;
border: 3px solid black;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin: auto;
height: calc(100% - 38px);
max-height: 500px;
}
#restore-save {
@ -336,6 +334,11 @@ ruffleShadowTemplate.innerHTML = `
#local-saves {
border-collapse: collapse;
overflow-y: scroll;
height: inherit;
display: block;
padding-right: 16px;
max-height: 380px;
}
#local-saves td {