@@ -16,7 +16,7 @@ const MainReplaySection = ({ title }: MainReplaySectionProps) => {
16
16
const { data : replayData } = useRecentReplay ( ) ;
17
17
18
18
const { info, appendInfo } = replayData ;
19
- const displayedData = textStatus === VIDEO_VIEW . FOLD ? [ ...info , ...appendInfo ] : info ;
19
+ const displayedData = [ ...info , ...appendInfo ] ;
20
20
21
21
const handleTextChange = ( ) => {
22
22
setTextStatus ( textStatus === VIDEO_VIEW . MORE_VIEW ? VIDEO_VIEW . FOLD : VIDEO_VIEW . MORE_VIEW ) ;
@@ -66,19 +66,22 @@ const MainSectionContentList = styled.div<{ $textStatus: string }>`
66
66
67
67
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
68
68
overflow: ${ ( { $textStatus } ) => ( $textStatus === VIDEO_VIEW . MORE_VIEW ? 'hidden' : 'visible' ) } ;
69
- max-height: ${ ( { $textStatus } ) => ( $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (320px + 30px) - 30px)' : 'none' ) } ;
69
+ max-height: ${ ( { $textStatus } ) =>
70
+ $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (320px + 30px) - 30px)' : 'none' } ;
70
71
71
72
> div {
72
73
max-width: 100%;
73
74
}
74
75
75
76
@media (max-width: 1700px) {
76
77
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
77
- max-height: ${ ( { $textStatus } ) => ( $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (320px + 30px) - 30px)' : 'none' ) } ;
78
+ max-height: ${ ( { $textStatus } ) =>
79
+ $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (320px + 30px) - 30px)' : 'none' } ;
78
80
}
79
81
80
82
@media (max-width: 1500px) {
81
83
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
82
- max-height: ${ ( { $textStatus } ) => ( $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (300px + 30px) - 30px)' : 'none' ) } ;
84
+ max-height: ${ ( { $textStatus } ) =>
85
+ $textStatus === VIDEO_VIEW . MORE_VIEW ? 'calc(2 * (300px + 30px) - 30px)' : 'none' } ;
83
86
}
84
87
` ;
0 commit comments