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 {