Skip to content

Commit 5b214d2

Browse files
committed
Made arrow on show
1 parent 4acb22c commit 5b214d2

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

‎client/frontend/components/ShowPage.js‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ class ShowPage extends React.Component {
122122

123123
return (
124124
<View style={styles.container}>
125+
<Image
126+
style={styles.arrowImage}
127+
source={require('../images/arrow.png')}
128+
/>
125129
<Image
126130
style={styles.image}
127131
source={place.photo}
@@ -211,6 +215,7 @@ const styles = StyleSheet.create({
211215
image: {
212216
height: '25%',
213217
width: '100%',
218+
zIndex: -10,
214219
},
215220
mapContainer: {
216221
height: '48%',
@@ -251,7 +256,14 @@ const styles = StyleSheet.create({
251256
color: '#FE5D26',
252257
fontWeight: "600",
253258
fontSize: 16,
254-
}
259+
},arrowImage:{
260+
alignSelf: 'center',
261+
zIndex: 10,
262+
height:40,
263+
marginBottom:20,
264+
width: '14%',
265+
position: 'absolute',
266+
},
255267
});
256268

257269
export default ShowPage;

‎client/frontend/images/arrow.png‎

5.59 KB
Loading

0 commit comments

Comments
 (0)