Skip to content

Commit

Permalink
COM-1466_2 - Fix chloe's review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyCallegari committed Sep 23, 2020
1 parent d442314 commit 83014c3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/cards/SurveyScoreSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const SurveyScoreSelector = ({ onPressScore, selectedScore }: SurveyScoreSelecto

const styles = StyleSheet.create({
container: {
paddingHorizontal: 16,
paddingHorizontal: PADDING.LG,
},
line: {
position: 'relative',
Expand Down
12 changes: 10 additions & 2 deletions src/screens/courses/cardTemplates/SurveyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const SurveyCard = ({ card, index }: SurveyCard) => {
<View style={styles.labelContainer}>
{card.label?.left && card.label?.right && (
<>
<Text style={styles.text}>{card.label.left}</Text>
<Text style={styles.text}>{card.label.right}</Text>
<Text style={{ ...styles.text, ...styles.textLeft }}>{card.label.left}</Text>
<Text style={{ ...styles.text, ...styles.textRight }}>{card.label.right}</Text>
</>
)}
</View>
Expand Down Expand Up @@ -64,10 +64,18 @@ const styles = StyleSheet.create({
paddingHorizontal: PADDING.LG,
flexDirection: 'row',
justifyContent: 'space-between',
backgroundColor: 'blue',
},
text: {
width: 88,
color: PINK[500],
backgroundColor: 'red',
},
textLeft: {
textAlign: 'left',
},
textRight: {
textAlign: 'right',
},
});

Expand Down

0 comments on commit 83014c3

Please sign in to comment.