Skip to content

Commit

Permalink
Merge pull request #111 from dsc-sookmyung/feature/home
Browse files Browse the repository at this point in the history
Fix: iPhone SE, 8에서 HomeScreen 배경 이미지가 잘려보이는 문제 해결
  • Loading branch information
mori8 authored Aug 14, 2022
2 parents 0ea7b83 + b60e7bf commit 9f99cae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-native/screens/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export default function HomeScreen({ navigation }: Navigation) {
.then((response) => response.json())
.then((data) => {
setEvents(data);
// console.log(data);
})
.catch((error) => {
console.log(error);
Expand All @@ -118,7 +117,7 @@ export default function HomeScreen({ navigation }: Navigation) {
<ImageBackground
source={require("../assets/images/home-button-background.png")}
style={[styles.functionButtonImageBackground]}
imageStyle={{ marginTop: -40 }}
imageStyle={{ marginTop: -40, position: 'absolute', bottom: 0, top: undefined, height: 400 }}
>
<View style={styles.functionButtonWrapper}>
<TouchableOpacity
Expand Down Expand Up @@ -362,7 +361,8 @@ const styles = StyleSheet.create({
flexDirection: "row",
maxHeight: 40,
marginLeft: 8,
marginRight: 8
marginRight: 8,
marginBottom: 8,
},
childButton: {
borderWidth: 1,
Expand Down

0 comments on commit 9f99cae

Please sign in to comment.