diff --git a/html/journal.php b/html/journal.php index 724e894b..d27ed546 100644 --- a/html/journal.php +++ b/html/journal.php @@ -63,7 +63,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { if ($resultat) { foreach($resultat as $row) { - echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $date->format('d/m/Y') . "
"; + echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $date->format('d/m/Y') . "
"; } } } diff --git a/html/src/css/style.css b/html/src/css/style.css index 662bd5fc..7be8a502 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -80,6 +80,11 @@ a { font-size: 3em; } +.article-link { + display: inline-block; + width: 25em; +} + .article { background-color: var(--dark-background); border-radius: 10px;