Merge pull request #96 from ThomasRubini/fix_home_width

Fix home width
This commit is contained in:
Marla 2023-01-25 20:41:36 +01:00 committed by GitHub
commit c6e2ebc779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
<?php <?php
$array_header = array( $array_header = array(
'<img src="/static/img/logo.png" alt="Logo">' => "/", '<img src="/static/img/logo.png" alt="Logo">' => "/",
"Catégories de recette" => "/category", "Catégories" => "/category",
"Créer une recette" => "/recipe/new", "Nouvelle recette" => "/recipe/new",
"Rechercher" => "rechercher", "Recherche" => "rechercher",
'<img src="/static/img/default_user.svg" type="image/svg+xml">' => "/user/view" '<img src="/static/img/default_user.svg" type="image/svg+xml">' => "/user/view"
); );
?> ?>

View File

@ -119,8 +119,8 @@ main:has(aside) {
justify-content: center; justify-content: center;
gap: var(--size-max); gap: var(--size-max);
margin-top: var(--size-xl); margin-top: var(--size-xl);
width: 100vw;
margin-left: var(--size-xl); margin-left: var(--size-xl);
margin-right: var(--size-xl);
} }
aside { aside {
@ -165,7 +165,7 @@ body > main > article > section > h1 {
body > main > article > section > ul { body > main > article > section > ul {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: var(--size-l); gap: var(--size-xl);
flex-wrap: wrap; flex-wrap: wrap;
} }