Skip to content

Commit

Permalink
Fix Warning/Yellow Box so it does not mess up app layout when opened.
Browse files Browse the repository at this point in the history
Reviewed By: fkgozali

Differential Revision: D4808601

fbshipit-source-id: c15a7aa4514ea21798ceabca075189478596e0a2
  • Loading branch information
sahrens authored and facebook-github-bot committed Apr 1, 2017
1 parent 9075fe0 commit 7ff18f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Libraries/ReactNative/YellowBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,9 @@ const elevation = Platform.OS === 'android' ? Number.MAX_SAFE_INTEGER : undefine
var styles = StyleSheet.create({
fullScreen: {
height: '100%',
elevation: elevation
width: '100%',
elevation: elevation,
position: 'absolute',
},
inspector: {
backgroundColor: backgroundColor(0.95),
Expand Down

0 comments on commit 7ff18f2

Please sign in to comment.