From 78a0d7b2f1a9cc8fc4bd4763cecd092fbac359a0 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 15:37:34 +0000 Subject: [PATCH] Update 2 files - /html/editpage.php - /html/src/css/style.css --- html/editpage.php | 4 ++-- html/src/css/style.css | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/html/editpage.php b/html/editpage.php index c213b185..0f55d4df 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -181,9 +181,9 @@ if(isset($fichier)) { foreach($resultat as $row) { $date = strtotime($row['date']); echo "

"; - echo ""; + echo "
"; echo "
" . $row['titre'] . "
"; - echo ""; + echo "
"; echo "
" . $row['auteur'] . "
"; echo "
" . $row['ID'] . "
"; } diff --git a/html/src/css/style.css b/html/src/css/style.css index 69032b2a..bb943822 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -100,6 +100,7 @@ a { .article-preview .article-link { color: var(--text); + display: inline-block; } .article-preview .article-titre { @@ -108,7 +109,11 @@ a { } .article-preview .article-date { - font-size: 0.8em; + display: inline-block; +} + +.article-preview .article-auteur { + float: right; } .article-info {