Update user menu display for cleaner interface

Replaced the email with a generic "Account" label in the user menu for better design consistency and to avoid truncation issues. Adjusted the dropdown max width to 180px for improved alignment with the new layout.
This commit is contained in:
2026-02-03 20:27:21 +01:00
parent 7036f29481
commit 62eb7e6e58

View File

@@ -643,9 +643,7 @@ export default function App() {
title="User Menü"
>
<span style={{ fontSize: 16, lineHeight: 1 }}>👤</span>
<span style={{ overflow: "hidden", textOverflow: "ellipsis", maxWidth: 170 }}>
{me.email}
</span>
<span>Account</span>
<span style={{ opacity: 0.8 }}></span>
</button>
@@ -1419,7 +1417,7 @@ const styles = {
fontWeight: 900,
cursor: "pointer",
boxShadow: "inset 0 1px 0 rgba(255,255,255,0.06)",
maxWidth: 260,
maxWidth: 180,
},
userDropdown: {