impr: make postbody expansion sticky

This commit is contained in:
Xylight committed 2025-10-28 20:49:52 -07:00
1 parent 3942535831
commit ab579535f2
1 file changed
+3 -3
+3 -3
View File
@@ -60,9 +60,9 @@
size="square-md" size="square-md"
color="ghost" color="ghost"
class={[ class={[
'text-black dark:text-white absolute z-10 isolate pointer-events-auto bottom-0', 'text-black dark:text-white absolute z-10 isolate pointer-events-auto left-0 bottom-0 transition-colors',
'left-1/2 -translate-x-1/2 mb-4 hover:backdrop-blur-lg bg-slate-100 dark:bg-zinc-900/50', 'left-1/2 -translate-x-1/2 mb-4 hover:backdrop-blur-lg bg-slate-100 dark:bg-zinc-900/70',
expanded && 'shadow-md rotate-180', expanded && 'shadow-md rotate-180 sticky bottom-16',
]} ]}
title="Expand" title="Expand"
> >