From cb27a77afd46b2afff6ade6573fb0c20bc03c14c Mon Sep 17 00:00:00 2001 From: LGoulart Date: Fri, 1 Mar 2024 16:43:14 -0300 Subject: [PATCH] =?UTF-8?q?corre=C3=A7=C3=A3o=20de=20bugs=20e=20melhorias?= =?UTF-8?q?=20de=20estilo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/main.js | 6 +++--- assets/styles.css | 11 +++++------ index.html | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/assets/main.js b/assets/main.js index 4fe3135..5e43a32 100644 --- a/assets/main.js +++ b/assets/main.js @@ -35,7 +35,7 @@ function criptografar(txt) { } function btnEncriptar(){ const textoCriptografado = criptografar(textoRecebido.value); - mensagem.innerText = textoCriptografado; + mensagem.value = textoCriptografado; trocarImagemResposta('locked'); textoRecebido.value = ''; } @@ -49,7 +49,7 @@ function decodificar(txt) { } function btnDecodificar(){ const textoDecodificado = decodificar(textoRecebido.value); - mensagem.innerText = textoDecodificado; + mensagem.value = textoDecodificado; trocarImagemResposta('opened'); textoRecebido.value = ''; } @@ -86,4 +86,4 @@ function trocarImagemResposta(nomeImagem) { } else { console.error('Imagem não encontrada:', nomeImagem); } -} +} \ No newline at end of file diff --git a/assets/styles.css b/assets/styles.css index d4cef79..e913896 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -99,7 +99,8 @@ body { } .informacao{ - margin-left: 2vh; + margin-left: 3vh; + margin-bottom: 1vh; padding: 1vh; } @@ -169,20 +170,18 @@ body { footer { position: fixed; - align-items: center; - justify-content: center; bottom: 0; width: 100%; height: 40px; background-color: var(--cor-terciaria); color: var(--cor-primaria); text-align: center; - padding: 10px; + padding:1vh; z-index: 1000; } .linkedin{ - width: 3vh; - height: 3vh; + width: 2.5vh; + height: 2.5vh; margin: 0 10px; } \ No newline at end of file diff --git a/index.html b/index.html index 88b9c97..790fb06 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@

Decodificador de Mensagens

- +
@@ -42,7 +42,7 @@
-