Commit 2a56ae6
fix: screenshot lightbox positioning by appending overlay to body
position:fixed inside CSS grid ancestors doesn't work reliably.
Switched to a small JS approach that creates the lightbox overlay
directly on document.body, ensuring correct fullscreen positioning.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 49b9c59 commit 2a56ae6
File tree
2 files changed
+22
-17
lines changed- hugo-site
- content
- themes/freenet/assets/css
2 files changed
+22
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
30 | 48 | | |
31 | 49 | | |
32 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | 609 | | |
614 | 610 | | |
615 | 611 | | |
| |||
621 | 617 | | |
622 | 618 | | |
623 | 619 | | |
624 | | - | |
625 | 620 | | |
626 | 621 | | |
627 | | - | |
628 | | - | |
| 622 | + | |
| 623 | + | |
629 | 624 | | |
630 | 625 | | |
631 | 626 | | |
| |||
639 | 634 | | |
640 | 635 | | |
641 | 636 | | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
| 637 | + | |
651 | 638 | | |
652 | 639 | | |
653 | 640 | | |
| |||
0 commit comments