From b8d70245a9bdf140d75791ba0069b29defa77fc6 Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:23:37 +0100 Subject: [PATCH] Update characterCreator.js --- js/characterCreator.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/characterCreator.js b/js/characterCreator.js index b8f7f02f..1dcb8895 100644 --- a/js/characterCreator.js +++ b/js/characterCreator.js @@ -35,12 +35,13 @@ const questions = [ // Elementos del DOM const container = document.createElement("div"); container.id = "questionnaire"; -container.style.position = "flex"; +container.style.position = "absolute"; container.style.top = "60%"; container.style.left = "90%"; container.style.fontsize = "15"; container.style.transform = "translate(-20%, -20%)"; -container.style.backgroundColor = "rgba(0, 0, 0, 0.2)"; +container.style.backgroundColor = "rgba(0, 0, 0, 0.9)"; +comtainer.style.alignitems = "flex-start"; container.style.color = "White"; container.style.padding = "60px"; container.style.borderRadius = "10px";