fix server member list scrolling
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<div class="member-list">
|
||||
{#if !chat.isReady}
|
||||
<div class="member-list-section-header">
|
||||
@@ -105,7 +104,7 @@
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.avatar-container {
|
||||
position: relative;
|
||||
@@ -150,24 +149,14 @@
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
|
||||
.right-sidebar {
|
||||
width: 240px;
|
||||
background-color: var(--background-secondary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.2);
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
}
|
||||
.member-list {
|
||||
padding: 16px 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
overflow-y: auto;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.member-item {
|
||||
@@ -179,6 +168,7 @@
|
||||
cursor: pointer;
|
||||
color: var(--interactive-normal);
|
||||
transition: all 0.1s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.member-item:hover {
|
||||
@@ -209,6 +199,7 @@
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sharing-badge {
|
||||
|
||||
Reference in New Issue
Block a user