diff --git a/client/src/modules/GameCreationStepManager.js b/client/src/modules/GameCreationStepManager.js index 0f508b5..a208c07 100644 --- a/client/src/modules/GameCreationStepManager.js +++ b/client/src/modules/GameCreationStepManager.js @@ -471,7 +471,7 @@ function initializeRemainingEventListeners(deckManager) { deckManager.addToCustomRoleOptions({role: name, description: description, team: team}); updateCustomRoleOptionsList(deckManager, document.getElementById("deck-select")) ModalManager.dispelModal("add-role-modal", "add-role-modal-background"); - toast("Role Added", "success", true); + toast("Role Created", "success", true); } else { toast("There is already a custom role with this name.", "error", true); } diff --git a/client/src/styles/modal.css b/client/src/styles/modal.css index 0988214..4854377 100644 --- a/client/src/styles/modal.css +++ b/client/src/styles/modal.css @@ -1,7 +1,7 @@ .modal { border-radius: 2px; text-align: center; - position: fixed; + position: absolute; width: 85%; z-index: 100; top: 50%;