From 3daf2cc6fe7468590ba1073b7f78b53c79622918 Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Wed, 29 Dec 2021 16:18:24 -0500 Subject: [PATCH] tweak language --- client/src/modules/GameCreationStepManager.js | 2 +- client/src/styles/modal.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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%;