diff --git a/js/characterCreator.js b/js/characterCreator.js index 47ce1290..3aed5045 100644 --- a/js/characterCreator.js +++ b/js/characterCreator.js @@ -37,13 +37,14 @@ const container = document.createElement("div"); container.id = "questionnaire"; container.style.position = "absolute"; container.style.top = "60%"; -container.style.left = "90%"; -container.style.fontsize = "15"; -container.style.transform = "translate(-20%, -20%)"; +container.style.right = "20px"; // Cambia 'left' a 'right' para posicionarlo a la derecha +container.style.fontSize = "15px"; // Corrección de error tipográfico +container.style.transform = "translate(-20%, -20%)"; // Puedes eliminar esta propiedad si no la necesitas container.style.display = "flex"; +container.style.flexDirection = "column"; // Organiza los elementos verticalmente container.style.backgroundColor = "rgba(0, 0, 0, 0.9)"; -comtainer.style.alignItems = "flex-start"; -container.style.color = "White"; +container.style.alignItems = "flex-start"; // Alinea el texto a la izquierda +container.style.color = "white"; // Corrección de minuscula container.style.padding = "60px"; container.style.borderRadius = "10px"; container.style.fontFamily = "Arial, sans-serif";