File tree Expand file tree Collapse file tree 2 files changed +6
-24
lines changed
packages/web/src/pages/track-page/components/desktop Expand file tree Collapse file tree 2 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,7 @@ export const RemixContestDetailsTab = ({
3737 const isContestEnded = dayjs ( remixContest ?. endDate ) . isBefore ( dayjs ( ) )
3838
3939 return (
40- < Flex
41- column
42- gap = 'l'
43- p = 'xl'
44- css = { {
45- transition : 'height var(--harmony-expressive)'
46- } }
47- >
40+ < Flex column gap = 'l' p = 'xl' >
4841 < Flex row gap = 's' >
4942 < Text variant = 'title' size = 'm' color = 'accent' >
5043 { messages . due }
Original file line number Diff line number Diff line change 99 Flex ,
1010 IconCloudUpload ,
1111 IconTrophy ,
12+ motion ,
1213 spacing ,
1314 Text
1415} from '@audius/harmony'
@@ -107,13 +108,7 @@ export const RemixContestSection = ({
107108 const totalBoxHeight = TAB_BAR_HEIGHT + contentHeight
108109
109110 return (
110- < Flex
111- column
112- gap = 'l'
113- css = { {
114- transition : 'height var(--harmony-expressive)'
115- } }
116- >
111+ < Flex column gap = 'l' >
117112 < Flex alignItems = 'center' gap = 's' >
118113 < IconTrophy color = 'default' />
119114 < Text variant = 'title' size = 'l' >
@@ -125,7 +120,8 @@ export const RemixContestSection = ({
125120 shadow = 'mid'
126121 borderRadius = 'l'
127122 css = { {
128- transition : 'height var(--harmony-expressive)' ,
123+ transition : motion . quick ,
124+ overflow : 'hidden' ,
129125 height : totalBoxHeight
130126 } }
131127 >
@@ -147,14 +143,7 @@ export const RemixContestSection = ({
147143 < Flex h = { spacing . m + spacing [ '2xl' ] } />
148144 ) }
149145 </ Flex >
150- < Box
151- css = { {
152- transition : 'height var(--harmony-expressive)' ,
153- height : contentHeight
154- } }
155- >
156- { ContentBody }
157- </ Box >
146+ { ContentBody }
158147 </ Flex >
159148 </ Box >
160149 </ Flex >
You can’t perform that action at this time.
0 commit comments