Browse Source

make top-sentinel less prominent, so that there is less empty space at the top

master
silberengel 3 months ago
parent
commit
130b69df30
  1. 4
      src/lib/components/publications/Publication.svelte

4
src/lib/components/publications/Publication.svelte

@ -1488,11 +1488,11 @@
<div <div
id="publication-top-sentinel" id="publication-top-sentinel"
bind:this={topSentinelRef} bind:this={topSentinelRef}
class="flex justify-center items-center my-8 min-h-[100px] w-full" class="flex justify-center items-center my-2 min-h-[20px] w-full"
data-sentinel="top" data-sentinel="top"
> >
{#if isLoading && leaves.length > 0} {#if isLoading && leaves.length > 0}
<div class="flex items-center gap-2 text-gray-500 dark:text-gray-400"> <div class="flex items-center gap-2 text-gray-500 dark:text-gray-400 py-2">
<div class="animate-spin rounded-full h-4 w-4 border-2 border-gray-300 border-t-primary-600"></div> <div class="animate-spin rounded-full h-4 w-4 border-2 border-gray-300 border-t-primary-600"></div>
<span>Loading previous sections...</span> <span>Loading previous sections...</span>
</div> </div>

Loading…
Cancel
Save