impr: make postbody expansion sticky
This commit is contained in:
1 file changed
+3
-3
@@ -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"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user