From 20c1bc090d791259b0c7399038080894ae0572dc Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 30 Apr 2025 09:18:25 +0200 Subject: [PATCH] flex --- index.php | 2 +- style.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index bf2fd7d..06c890d 100644 --- a/index.php +++ b/index.php @@ -16,8 +16,8 @@ include_once "dico.php"; include_once "Grille.php"; -const LARGEUR_PAR_DEFAUT = 7; const HAUTEUR_PAR_DEFAUT = 6; +const LARGEUR_PAR_DEFAUT = 6; $hauteur = filter_input(INPUT_GET, 'l', FILTER_VALIDATE_INT, [ diff --git a/style.css b/style.css index 9170b6c..d923c8b 100644 --- a/style.css +++ b/style.css @@ -9,6 +9,7 @@ form { display: flex; flex-flow: column; min-height: calc(100vh - 4rem); + justify-content: space-between; } h1 { @@ -46,8 +47,7 @@ h2 { justify-content: space-evenly; flex-wrap: wrap; height: max-content; - flex-grow: 1; - align-items: center; + align-items: flex-start; } .grille table { @@ -158,7 +158,7 @@ button[type='submit'] { button[type='submit'] { width: 100%; - margin: auto; + /*! margin: auto; */ border: none; background: none; font-family: inherit; @@ -276,4 +276,4 @@ button[type="submit"]:active { button[type="submit"]:active { color: orchid; } -} \ No newline at end of file +}