Skip to content

Commit

Permalink
[React Native] Fix padding in UIExplorer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Akers committed Jul 3, 2015
1 parent 4fdeed0 commit 16cb41a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion Examples/UIExplorer/UIExplorerPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ var UIExplorerPage = React.createClass({
ContentWrapper = (View: ReactClass<any, any, any>);
} else {
ContentWrapper = (ScrollView: ReactClass<any, any, any>);
wrapperProps.automaticallyAdjustContentInsets = !this.props.title;
wrapperProps.keyboardShouldPersistTaps = true;
wrapperProps.keyboardDismissMode = 'interactive';
}
Expand All @@ -64,14 +65,14 @@ var UIExplorerPage = React.createClass({
var styles = StyleSheet.create({
container: {
backgroundColor: '#e9eaed',
paddingTop: 15,
flex: 1,
},
spacer: {
height: 270,
},
wrapper: {
flex: 1,
paddingTop: 10,
},
});

Expand Down
1 change: 1 addition & 0 deletions Examples/UIExplorer/UIExplorerTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var styles = StyleSheet.create({
borderWidth: 0.5,
borderColor: '#d6d7da',
margin: 10,
marginBottom: 0,
height: 45,
padding: 10,
backgroundColor: 'white',
Expand Down

0 comments on commit 16cb41a

Please sign in to comment.