We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1afb6 commit 193f9b6Copy full SHA for 193f9b6
src/lightbox/Lightbox.js
@@ -57,6 +57,7 @@ export default function Lightbox(props: Props): Node {
57
img: {
58
height: 300,
59
flex: 1,
60
+ width: '100%',
61
},
62
header: {
63
backgroundColor: 'black',
@@ -92,7 +93,7 @@ export default function Lightbox(props: Props): Node {
92
93
? { uri: src.toString(), headers: getAuthHeaders(auth) }
94
: { uri: src.toString() }
95
}
- style={[styles.img, { width: '100%' }]}
96
+ style={styles.img}
97
// Doesn't seem to do anything on iOS:
98
// https://github.com/alwx/react-native-photo-view/issues/62
99
// https://github.com/alwx/react-native-photo-view/issues/98
0 commit comments