do not shrink member list items when list is full

pull/2192/head
Audric Ackermann 3 years ago
parent 602a287263
commit 43d133519e
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -442,7 +442,6 @@ function openReleaseNotes() {
);
}
function openSupportPage() {
shell.openExternal('https://docs.oxen.io/products-built-on-oxen/session');
}

@ -1206,6 +1206,7 @@ input {
.session-member-item {
cursor: pointer;
flex-shrink: 0;
font-family: $session-font-default;
padding: 0px $session-margin-sm;
height: 50px;

@ -7,9 +7,12 @@ export function getInitials(name?: string): string | undefined {
return name[2];
}
const initials = name.split(' ').slice(0, 2).map(n => {
return n[0];
})
const initials = name
.split(' ')
.slice(0, 2)
.map(n => {
return n[0];
});
return initials.join('');
}

Loading…
Cancel
Save