Skip to content

Commit

Permalink
🐛 fix image preview overflow by adding maxHeight constraint based on …
Browse files Browse the repository at this point in the history
…screen size
  • Loading branch information
jaronheard committed Jan 6, 2025
1 parent 20e4eac commit a771606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/expo/src/app/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const styles = StyleSheet.create({
previewContainerFull: {
width: Dimensions.get("window").width - 32,
flex: 1,
maxHeight: Dimensions.get("window").height - 240,
},
});

Expand Down

0 comments on commit a771606

Please sign in to comment.