Commit be60c2b
fix: show winner overlay and confetti in fullscreen presenter view
The presenter view goes fullscreen on the presMode element, but the
winner overlay and confetti were appended to document.body — siblings
of presMode — so browsers did not render them in fullscreen. Append
them inside presMode while presenting, and restore the overlay to the
body on exit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6d949be commit be60c2b
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
663 | 666 | | |
664 | 667 | | |
665 | 668 | | |
| |||
677 | 680 | | |
678 | 681 | | |
679 | 682 | | |
680 | | - | |
| 683 | + | |
681 | 684 | | |
682 | 685 | | |
683 | 686 | | |
| |||
795 | 798 | | |
796 | 799 | | |
797 | 800 | | |
| 801 | + | |
| 802 | + | |
798 | 803 | | |
799 | 804 | | |
800 | 805 | | |
| |||
0 commit comments