icône sur le bouton nouvelle grille

This commit is contained in:
Adrien MALINGREY 2025-04-28 17:54:55 +02:00
parent 4fb2e70915
commit 50872aef31
2 changed files with 5 additions and 2 deletions

View File

@ -145,7 +145,7 @@ $grille = new Grille($hauteur, $largeur, $id);
<input type="hidden" id="lignes" <?php if (isset($_GET["lignes"])): ?>name="lignes" <?php endif ?>value="<?= $hauteur ?>" />
<input type="hidden" id="colonnes" <?php if (isset($_GET["colonnes"])): ?>name="colonnes" <?php endif ?>value="<?= $largeur ?>" />
<input type="hidden" id="solution_hashee" value="<?= $grille->hash() ?>" />
<button type="submit">Nouvelle grille</button>
<button type="submit"><img src="favicon.ico">Nouvelle grille</button>
</form>
<script src="script.js"></script>

View File

@ -142,6 +142,9 @@ button[type='submit'] {
background: none;
font-family: inherit;
font-size: 1em;
display: flex;
align-items: center;
gap: 0.5em;
}
button[type="submit"]:hover {