[React Native] Fix padding in UIExplorer

This commit is contained in:
Alex Akers 2015-07-03 02:03:08 -07:00
parent 4fdeed0214
commit 16cb41a24e
7 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -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';
}
@ -64,7 +65,6 @@ var UIExplorerPage = React.createClass({
var styles = StyleSheet.create({
container: {
backgroundColor: '#e9eaed',
paddingTop: 15,
flex: 1,
},
spacer: {
@ -72,6 +72,7 @@ var styles = StyleSheet.create({
},
wrapper: {
flex: 1,
paddingTop: 10,
},
});

View File

@ -41,6 +41,7 @@ var styles = StyleSheet.create({
borderWidth: 0.5,
borderColor: '#d6d7da',
margin: 10,
marginBottom: 0,
height: 45,
padding: 10,
backgroundColor: 'white',