Skip to content

Commit

Permalink
fix: can't scroll when there's too many files (#1825)
Browse files Browse the repository at this point in the history
* fix: can't scroll when there's too many files

* Update Files.svelte
  • Loading branch information
ivyjeong13 authored Feb 21, 2025
1 parent 59bf122 commit e4dd66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/user/src/lib/components/navbar/Files.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{#if files.items.length === 0}
<p class="pb-3 pt-6 text-center text-sm text-gray dark:text-gray-300">No files</p>
{:else}
<ul class="space-y-4 px-3 py-6 text-sm">
<ul class="max-h-[60vh] space-y-4 overflow-y-auto px-3 py-6 text-sm">
{#each files.items as file}
<li class="group">
<div class="flex">
Expand Down

0 comments on commit e4dd66e

Please sign in to comment.