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>
<?php fillHead($rootPageURL, $pageTitle, $darkTheme, $lightTheme);?>
<style>
user-widget {
user-widget-link {
margin: 1em 0;
}
</style>

View File

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

View File

@ -117,7 +117,7 @@
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-pp">');