From 23770e886cdecf14acc8dbc3e751642778f1592e Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Tue, 12 Mar 2024 07:39:07 +0000 Subject: [PATCH] Update 2 files - /html/news.php - /html/src/css/style.css --- html/news.php | 8 ++++---- html/src/css/style.css | 12 +++++++++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/html/news.php b/html/news.php index f0d8b2ed..138ed28c 100644 --- a/html/news.php +++ b/html/news.php @@ -113,13 +113,13 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) echo ""; echo "
"; echo "
"; - echo "
" . $resultat[0]['display_name'] . "
"; - echo "
"; + echo "
" . $resultat[0]['display_name'] . "
"; + echo "
"; if($resultat[0]['role'] != 0) { echo ''; } - echo "
"; - echo "
@" . $resultat[0]['username'] . "
"; + echo "
"; + echo "
@" . $resultat[0]['username'] . "
"; echo "
"; echo "
" . $classifications[$resultat[0]['classification']] . "
"; echo "
"; diff --git a/html/src/css/style.css b/html/src/css/style.css index 70db7966..e9060ded 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -236,13 +236,19 @@ a { display: inline; } -.auteur-pp { -} - .auteur-role { display: inline; } +.auteur-display-name span, .auteur-role span, .auteur-username span { + display: inline-block; + vertical-align: middle; + line-height: normal; +} + +.auteur-pp { +} + .auteur-pp-image { width: 5em; height: 5em;