fix style

This commit is contained in:
AntoninoP 2024-07-05 19:39:15 +02:00
parent e43f2799bd
commit a3e22b4e20
2 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,9 @@ const Navbar = ({ user }) => {
</div> </div>
{dropdownOpen && ( {dropdownOpen && (
<div className={styles.dropdownMenu} ref={dropdownRef}> <div className={styles.dropdownMenu} ref={dropdownRef}>
<div className={styles.menuItem} onClick={toggleDropdown}>
{auth.currentUser.displayName}
</div>
<div className={styles.menuItem} onClick={toggleDropdown}> <div className={styles.menuItem} onClick={toggleDropdown}>
<FontAwesomeIcon icon={faUser} className={styles.icon}/> Informations <FontAwesomeIcon icon={faUser} className={styles.icon}/> Informations
</div> </div>

View File

@ -55,12 +55,12 @@
} }
.menuItem:hover { .menuItem:hover {
background-color: #05081679; background-color: #1f202479;
color: var(--primary-color); color: var(--primary-color);
} }
.menuItemLogout:hover{ .menuItemLogout:hover{
background-color: red; background-color: #1f202479;
color: var(--primary-color); color: var(--primary-color);
} }