From 6b6edd369b3b389a83e156188f8a51507a048455 Mon Sep 17 00:00:00 2001 From: adrien Date: Thu, 1 May 2025 18:21:44 +0200 Subject: [PATCH] petites modifs --- script.js | 2 +- style.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 833e76a..adbb563 100644 --- a/script.js +++ b/script.js @@ -60,7 +60,7 @@ for (let input of inputs) { ) { sha256(inputs.map((input) => input.value).join("")).then((hash) => { if (hash == solution_hashee.value) { - if (confirm("Bravo ! \nUne nouvelle partie ?")) { + if (confirm("Bravo !\nUne nouvelle partie ?")) { grilleForm.submit(); } } diff --git a/style.css b/style.css index 4f45d26..9a117c7 100644 --- a/style.css +++ b/style.css @@ -52,9 +52,13 @@ h2 { gap: 1em; } +.grille { + display: flex; +} + .grille table { border-collapse: collapse; - margin: 0 auto; + margin: auto; height: fit-content; }