From 4a4c44a8f4d64e48a4ff7d87b115daac82589381 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 14:47:17 +0000 Subject: [PATCH] Update 2 files - /html/journal.php - /html/src/css/style.css --- html/journal.php | 2 +- html/src/css/style.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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;