Skip to content

Commit

Permalink
Update characterCreator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 6, 2024
1 parent bb00050 commit 8cd711f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/characterCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8cd711f

Please sign in to comment.