From 8cd711f880f07250b28ee99c63028ea73627ad7e Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:16:25 +0100 Subject: [PATCH] Update characterCreator.js --- js/characterCreator.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/js/characterCreator.js b/js/characterCreator.js index 3aed5045..86d7cab7 100644 --- a/js/characterCreator.js +++ b/js/characterCreator.js @@ -36,17 +36,16 @@ const questions = [ const container = document.createElement("div"); container.id = "questionnaire"; container.style.position = "absolute"; -container.style.top = "60%"; +container.style.top = "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)"; 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.padding = "20px"; +container.style.borderRadius = "15px"; container.style.fontFamily = "Arial, sans-serif"; container.style.textAlign = "left"; document.body.appendChild(container);