Prevent friend request username from overflowing

This commit is contained in:
hfcRed 2026-03-20 04:28:47 +01:00
parent eecab39cd3
commit 7cb7710cc3
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,12 @@
font-weight: var(--weight-semi);
}
.userName {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.friendsListHeader {
display: flex;
align-items: center;

View File

@ -72,7 +72,7 @@ function IncomingRequestsSection() {
}}
size="xs"
/>
<span>{request.sender.username}</span>
<span className={styles.userName}>{request.sender.username}</span>
</div>
<div className="stack horizontal sm">
<Form method="post">