Skip to content

Commit ed9c2e1

Browse files
authored
[PE-6041] Android remix contest section styling (#11934)
1 parent cb0f1d8 commit ed9c2e1

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

packages/mobile/src/screens/track-screen/RemixContestDetailsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const RemixContestDetailsTab = ({ trackId }: Props) => {
2929
if (!remixContest) return null
3030

3131
return (
32-
<Flex column gap='s' p='xl'>
32+
<Flex column gap='s' p='xl' borderTop='default'>
3333
<Flex row gap='s'>
3434
<Text variant='title' color='accent'>
3535
{messages.due}

packages/mobile/src/screens/track-screen/RemixContestPrizesTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const RemixContestPrizesTab = ({ trackId }: Props) => {
1717
if (!remixContest) return null
1818

1919
return (
20-
<Flex p='xl'>
20+
<Flex p='xl' borderTop='default'>
2121
<UserGeneratedText variant='body' size='l'>
2222
{remixContest.eventData?.prizeInfo ?? ''}
2323
</UserGeneratedText>

packages/mobile/src/screens/track-screen/RemixContestSection.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ const TAB_FOOTER_HEIGHT = 64
2626
const useStyles = makeStyles(({ palette, typography, spacing }) => ({
2727
tabBar: {
2828
backgroundColor: 'transparent',
29-
borderBottomWidth: 1,
30-
borderBottomColor: palette.neutralLight8,
3129
height: spacing(10)
3230
},
3331
tabLabel: {
@@ -172,6 +170,7 @@ export const RemixContestSection = ({ trackId }: RemixContestSectionProps) => {
172170
renderScene={renderScene}
173171
renderTabBar={renderTabBar}
174172
onIndexChange={setIndex}
173+
swipeEnabled
175174
/>
176175
{!isOwner && <UploadRemixFooter trackId={trackId} />}
177176
</AnimatedPaper>

packages/mobile/src/screens/track-screen/RemixContestSubmissionsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const RemixContestSubmissionsTab = ({ trackId }: Props) => {
1616
if (!remixContest) return null
1717

1818
return (
19-
<Flex p='xl'>
19+
<Flex p='xl' borderTop='default'>
2020
<Text variant='body' size='l'>
2121
{/* TODO: Implement submissions content */}
2222
</Text>

0 commit comments

Comments
 (0)