fix: correct book browser scroll area height
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
<Spinner />
|
<Spinner />
|
||||||
</div>
|
</div>
|
||||||
{:else if bookCollection.books.length > 0}
|
{:else if bookCollection.books.length > 0}
|
||||||
<ScrollArea bind:viewportRef={scrollContainer} orientation="both" class=" h-[calc(100vh-12vh)] w-full pr-5 pl-5">
|
<ScrollArea bind:viewportRef={scrollContainer} orientation="both" class="h-[calc(100vh-11rem)] w-full px-5 pb-5">
|
||||||
{#if view === 'grid'}
|
{#if view === 'grid'}
|
||||||
<BookGrid books={bookCollection.books} />
|
<BookGrid books={bookCollection.books} />
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
Reference in New Issue
Block a user