Fixed scroll height issue

This commit is contained in:
Mustafa Buyukcelebi 2018-12-09 01:12:30 +03:00
parent ea1a0d1fc6
commit 1fc0dc473b
3 changed files with 8 additions and 4 deletions

View File

@ -3,8 +3,6 @@ import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
container: {
backgroundColor: '$primaryBackgroundColor',
},
scrollView: {
height: '$deviceHeight / 1.35',
flex: 1,
},
});

View File

@ -26,7 +26,7 @@ class NotificationScreen extends PureComponent {
notifications, getActivities, intl, navigateToNotificationRoute,
} = this.props;
return (
<View style={globalStyles.container}>
<View style={styles.container}>
<Header />
<ScrollableTabView
style={styles.tabView}

View File

@ -1,6 +1,10 @@
import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
container: {
flex: 1,
backgroundColor: '$primaryLightBackground',
},
tabbar: {
alignSelf: 'center',
height: 55,
@ -9,8 +13,10 @@ export default EStyleSheet.create({
tabView: {
alignSelf: 'center',
backgroundColor: 'transparent',
flex: 1,
},
notificationTab: {
flex: 1,
backgroundColor: '$primaryBackgroundColor',
minWidth: '$deviceWidth',
},