From bb0005066798634e5c74f7303891ab42abecefe2 Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:37:35 +0100 Subject: [PATCH] Update characterCreator.js --- js/characterCreator.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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";