Skip to content

Commit b6e70a5

Browse files
Jekrimotooshelstavares843InfamousVague
authored
fix(scrollbar): change type to auto for scrollbar (#970)
Co-authored-by: Sheldon McGee <sheldon@tooshel.com> Co-authored-by: Sara Tavares <29093946+stavares843@users.noreply.github.com> Co-authored-by: Matt Wisniewski <infamousvaguerat@gmail.com>
1 parent 11368f2 commit b6e70a5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/lib/components/messaging/Conversation.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
mask-image: linear-gradient(to top, var(--background) calc(100% - 1rem), transparent 100%);
184184
padding-top: 2rem;
185185
height: 100%;
186-
overflow-y: scroll;
186+
overflow-y: auto;
187187
overflow-x: hidden;
188188
padding-right: var(--padding-less);
189189

src/lib/layouts/Sidebar.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
flex-direction: row;
104104
border-right: var(--border-width) solid var(--border-color);
105105
max-height: 100vh;
106-
overflow-y: hidden;
107106
108107
.sidebar {
109108
display: inline-flex;
@@ -120,7 +119,8 @@
120119
padding-right: var(--gap);
121120
flex: 1;
122121
width: 100%;
123-
overflow-y: scroll;
122+
height: fit-content;
123+
overflow-y: auto;
124124
overflow-x: hidden;
125125
gap: var(--gap);
126126
}

src/routes/friends/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@
516516
padding-top: 15px;
517517
min-height: 0;
518518
width: 100%;
519-
overflow-y: scroll;
519+
overflow-y: auto;
520520
flex-grow: 1;
521521
display: flex;
522522
flex-direction: column;

0 commit comments

Comments
 (0)