fix: scroll position breaking

This commit is contained in:
Xylight committed 2024-07-04 21:08:23 -07:00
1 parent d936f8f035
commit 0b13cbc429
6 files changed
+85 -7

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events -->
<Material
color={view != 'card' ? 'none' : 'distinct'}
class="relative max-w-full min-w-0 w-full group cursor-pointer
class="post relative max-w-full min-w-0 w-full group cursor-pointer
{view != 'card' ? 'bg-transparent !border-0' : 'p-5'} {view == 'compact'
? 'py-4 list-type'
: view == 'list'