Recently changed file scroll was in a weird place

This commit is contained in:
idonahue 2023-05-23 19:46:57 +02:00
parent 412adac6c3
commit 9b23b31113
2 changed files with 4 additions and 4 deletions

View File

@ -104,13 +104,13 @@
</div> </div>
</div> </div>
<div class="main-content-container flex w-2/3 flex-auto flex-col gap-4 py-4 px-8"> <div class="main-content-container flex w-2/3 flex-auto flex-col">
<h1 class="flex text-2xl text-zinc-300"> <h1 class="flex py-4 px-8 text-2xl text-zinc-300">
<span>{$project?.title}</span> <span>{$project?.title}</span>
<span class="ml-2 text-zinc-600">Project</span> <span class="ml-2 text-zinc-600">Project</span>
</h1> </h1>
<h2 class="text-lg font-bold text-zinc-300">Recently changed files</h2> <h2 class="py-4 px-8 text-lg font-bold text-zinc-300">Recently changed files</h2>
<FileSummaries sessions={$recentSessions} /> <FileSummaries sessions={$recentSessions} />
</div> </div>

View File

@ -43,7 +43,7 @@
); );
</script> </script>
<ul class="flex flex-1 flex-col space-y-4 overflow-y-auto pr-1"> <ul class="mr-1 flex flex-1 flex-col space-y-4 overflow-y-auto px-8 pb-8">
{#if $deltasByDate.isLoading} {#if $deltasByDate.isLoading}
<li class="flex flex-1 space-y-4 rounded-lg border border-dashed border-zinc-400"> <li class="flex flex-1 space-y-4 rounded-lg border border-dashed border-zinc-400">
<div class="flex flex-1 flex-col items-center justify-center gap-4"> <div class="flex flex-1 flex-col items-center justify-center gap-4">