Commit b6bff50
committed
fix: keep Buy me a coffin pill sticky on every page
The earlier scroll-reveal threshold (180px) hid the pill on short
pages — most subpages (/about, /faq, /legal, /pricing) don't have
enough content to scroll past it, so the pill never appeared there.
Removes the scroll listener and renders the pill in its visible
state immediately on mount. The existing fade-up CSS animation
gives it a smooth entrance, and it now stays visible across every
route.1 parent 6a0d9c9 commit b6bff50
1 file changed
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 6 | | |
21 | 7 | | |
22 | 8 | | |
23 | 9 | | |
24 | 10 | | |
25 | 11 | | |
26 | | - | |
27 | | - | |
28 | 12 | | |
29 | | - | |
| 13 | + | |
30 | 14 | | |
31 | 15 | | |
32 | 16 | | |
| |||
0 commit comments