Skip to content

Commit

Permalink
standardize style of video page across ipad and android emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyGarciaa committed Dec 8, 2024
1 parent c61daf9 commit 14c6864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/screens/LegalRights/VideoPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function VideoPage({
<View style={styles.container}>
<Pressable
style={
index != 0
index !== 0
? [styles.captionButtons]
: [styles.captionButtons, styles.noButton]
}
Expand All @@ -111,7 +111,7 @@ export default function VideoPage({

<Pressable
style={
index != preaData.length - 1
index !== preaData.length - 1
? [styles.captionButtons]
: [styles.captionButtons, styles.noButton]
}
Expand Down
11 changes: 5 additions & 6 deletions src/screens/LegalRights/VideoPage/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@ export const styles = StyleSheet.create({
padding: 30,
alignItems: 'flex-end',
justifyContent: 'center',
gap: 46,
},
videoAndTitle: {
alignItems: 'flex-start',
alignItems: 'center',
gap: 10,
width: '80%',
},
title: {
color: '#444',
fontFamily: 'Inter',
fontSize: 24,
fontSize: 28,
fontStyle: 'normal',
fontWeight: 700,
},
video: {
borderRadius: 15,
backgroundColor: 'rgba(0, 0, 0, 0.18)',
width: 928,
height: 521,
width: '87%',
aspectRatio: 928 / 521,
},
captionButtons: {
display: 'flex',
Expand Down

0 comments on commit 14c6864

Please sign in to comment.