Commit 9c96667
committed
Default the detail carousel grid to the plain layout until content confirmed
The loading skeleton previously rendered inside #detail-carousel-wrap
counted as "not empty," so the CSS :has() rule expanded into the risky
carousel layout (full-width header, dead space beside the poster) on
every page load, before the lazy fetch even resolved -- defeating the
prior fix, which only handled the post-resolution empty case.
- Drop the skeleton; the wrap starts truly empty so the safe,
poster-beside-text layout (same as books) is what always renders
first, for both TV/movie and season pages. The carousel layout only
expands in once real trailer/photo content lands.
- Removed the now-unused skeleton template.1 parent a878d9c commit 9c96667
4 files changed
Lines changed: 45 additions & 39 deletions
File tree
- src
- static/css
- templates/app
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
647 | 653 | | |
648 | 654 | | |
649 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
650 | 667 | | |
651 | 668 | | |
652 | 669 | | |
653 | 670 | | |
654 | 671 | | |
655 | 672 | | |
656 | 673 | | |
657 | | - | |
| 674 | + | |
658 | 675 | | |
659 | 676 | | |
660 | 677 | | |
661 | | - | |
| 678 | + | |
662 | 679 | | |
663 | 680 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2832 | 2832 | | |
2833 | 2833 | | |
2834 | 2834 | | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
2835 | 2838 | | |
2836 | 2839 | | |
2837 | 2840 | | |
| |||
3006 | 3009 | | |
3007 | 3010 | | |
3008 | 3011 | | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
3009 | 3015 | | |
3010 | 3016 | | |
3011 | 3017 | | |
| |||
4299 | 4305 | | |
4300 | 4306 | | |
4301 | 4307 | | |
| 4308 | + | |
| 4309 | + | |
| 4310 | + | |
| 4311 | + | |
| 4312 | + | |
4302 | 4313 | | |
4303 | 4314 | | |
4304 | 4315 | | |
| |||
6069 | 6080 | | |
6070 | 6081 | | |
6071 | 6082 | | |
6072 | | - | |
6073 | | - | |
6074 | | - | |
6075 | | - | |
| 6083 | + | |
6076 | 6084 | | |
6077 | 6085 | | |
6078 | | - | |
| 6086 | + | |
6079 | 6087 | | |
6080 | | - | |
6081 | | - | |
| 6088 | + | |
| 6089 | + | |
6082 | 6090 | | |
6083 | | - | |
6084 | | - | |
| 6091 | + | |
| 6092 | + | |
6085 | 6093 | | |
6086 | | - | |
6087 | | - | |
| 6094 | + | |
| 6095 | + | |
6088 | 6096 | | |
6089 | 6097 | | |
6090 | 6098 | | |
| |||
Lines changed: 0 additions & 9 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | | - | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
0 commit comments