Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,7 @@ export const RemixContestDetailsTab = ({
const isContestEnded = dayjs(remixContest?.endDate).isBefore(dayjs())

return (
<Flex
column
gap='l'
p='xl'
css={{
transition: 'height var(--harmony-expressive)'
}}
>
<Flex column gap='l' p='xl'>
<Flex row gap='s'>
<Text variant='title' size='m' color='accent'>
{messages.due}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Flex,
IconCloudUpload,
IconTrophy,
motion,
spacing,
Text
} from '@audius/harmony'
Expand Down Expand Up @@ -107,13 +108,7 @@ export const RemixContestSection = ({
const totalBoxHeight = TAB_BAR_HEIGHT + contentHeight

return (
<Flex
column
gap='l'
css={{
transition: 'height var(--harmony-expressive)'
}}
>
<Flex column gap='l'>
<Flex alignItems='center' gap='s'>
<IconTrophy color='default' />
<Text variant='title' size='l'>
Expand All @@ -125,7 +120,8 @@ export const RemixContestSection = ({
shadow='mid'
borderRadius='l'
css={{
transition: 'height var(--harmony-expressive)',
transition: motion.quick,
overflow: 'hidden',
height: totalBoxHeight
}}
>
Expand All @@ -147,14 +143,7 @@ export const RemixContestSection = ({
<Flex h={spacing.m + spacing['2xl']} />
)}
</Flex>
<Box
css={{
transition: 'height var(--harmony-expressive)',
height: contentHeight
}}
>
{ContentBody}
</Box>
{ContentBody}
</Flex>
</Box>
</Flex>
Expand Down