Skip to content

Commit 1c80150

Browse files
authored
Merge pull request #6738 from azimgd/fix-reverted-list
2 parents 7b0752d + 8307739 commit 1c80150

File tree

4 files changed

+15
-86
lines changed

4 files changed

+15
-86
lines changed

build/react-native-web.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
cd ./node_modules/react-native-web &&
3+
npm install &&
4+
npm run compile &&
5+
rm -rf ./node_modules &&
6+
cd ./packages/react-native-web &&
7+
npm install --only=prod &&
8+
rm -rf ./node_modules/react ./node_modules/react-dom &&
9+
cd ../../ &&
10+
cp -R ./packages/react-native-web/* ./

package-lock.json

+2-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"license": "MIT",
88
"private": true,
99
"scripts": {
10+
"postinstall": "./build/react-native-web.sh",
1011
"android": "npm run check-metro-bundler-port && react-native run-android",
1112
"ios": "npm run check-metro-bundler-port && react-native run-ios",
1213
"ipad": "npm run check-metro-bundler-port && react-native run-ios --simulator=\"iPad Pro (12.9-inch) (4th generation)\"",
@@ -99,7 +100,7 @@
99100
"react-native-safe-area-context": "^3.1.4",
100101
"react-native-screens": "^3.0.0",
101102
"react-native-svg": "^12.1.0",
102-
"react-native-web": "0.15.7",
103+
"react-native-web": "git+https://github.com/Expensify/react-native-web.git#947191f0fd5d43fcb5731e60fc3652e40fc7315d",
103104
"react-pdf": "^5.2.0",
104105
"react-plaid-link": "^3.2.0",
105106
"react-web-config": "^1.0.0",

src/styles/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ const styles = {
11611161

11621162
chatContentScrollView: {
11631163
flexGrow: 1,
1164-
justifyContent: 'flex-start',
1164+
justifyContent: 'flex-end',
11651165
paddingVertical: 16,
11661166
},
11671167

0 commit comments

Comments
 (0)