Update 3 files

- /include/functions.php
- /html/src/css/style.css
- /html/admin/index.php
This commit is contained in:
Jan BELLON 2024-03-14 22:51:50 +00:00
parent 62ea21ef1d
commit 18ae7d132d
3 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,7 @@ $pdo = sqlConnect($sqlDatabaseHost, $sqlDatabaseName, $sqlDatabaseUser, $sqlData
<head> <head>
<?php fillHead($rootPageURL, $pageTitle, $darkTheme, $lightTheme);?> <?php fillHead($rootPageURL, $pageTitle, $darkTheme, $lightTheme);?>
<style> <style>
user-widget { user-widget-link {
margin: 1em 0; margin: 1em 0;
} }
</style> </style>

View File

@ -297,6 +297,11 @@ footer {
/* USER WIDGET */ /* USER WIDGET */
.user-widget-link {
display: block;
width: min-content;
}
.user-widget { .user-widget {
background-color: var(--panel-background); background-color: var(--panel-background);
display: flex; display: flex;

View File

@ -117,7 +117,7 @@
function userWidget($userPPURL, $userDisplayName, $userName, $userLevel, $certificationColors, $rootPageURL) { function userWidget($userPPURL, $userDisplayName, $userName, $userLevel, $certificationColors, $rootPageURL) {
echo ('<a href="' . $rootPageURL . 'users?u=' . $userName . '">'); echo ('<a href="' . $rootPageURL . 'users?u=' . $userName . '" class="user-widget-link">');
echo ('<div class="user-widget">'); echo ('<div class="user-widget">');
echo ('<div class="user-pp">'); echo ('<div class="user-pp">');