mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 13:53:23 +03:00
updated UserRibbon container styling in boost screen
This commit is contained in:
parent
610f17acbc
commit
11eccb560a
@ -12,7 +12,7 @@ import { InAppPurchaseContainer } from '../../../containers';
|
|||||||
// Styles
|
// Styles
|
||||||
import globalStyles from '../../../globalStyles';
|
import globalStyles from '../../../globalStyles';
|
||||||
import UserRibbon from '../../../components/userRibbon/userRibbon';
|
import UserRibbon from '../../../components/userRibbon/userRibbon';
|
||||||
import styles from '../../editor/children/styles';
|
import styles from './styles';
|
||||||
|
|
||||||
const ITEM_SKUS = Platform.select({
|
const ITEM_SKUS = Platform.select({
|
||||||
ios: ['099points', '199points', '499points', '999points', '4999points', '9999points'],
|
ios: ['099points', '199points', '499points', '999points', '4999points', '9999points'],
|
||||||
@ -49,7 +49,7 @@ const BoostScreen = ({ navigation }) => {
|
|||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<BoostPlaceHolder />
|
<BoostPlaceHolder />
|
||||||
) : (
|
) : (
|
||||||
<ScrollView>
|
<ScrollView contentContainerStyle={styles.listContainer}>
|
||||||
{productList.map((product) => (
|
{productList.map((product) => (
|
||||||
<ProductItemLine
|
<ProductItemLine
|
||||||
key={get(product, 'title')}
|
key={get(product, 'title')}
|
||||||
|
15
src/screens/boost/screen/styles.ts
Normal file
15
src/screens/boost/screen/styles.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { ViewStyle } from 'react-native';
|
||||||
|
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||||
|
|
||||||
|
export default EStyleSheet.create({
|
||||||
|
userRibbonContainer: {
|
||||||
|
borderBottomWidth: EStyleSheet.hairlineWidth,
|
||||||
|
borderColor: '$darkGrayBackground',
|
||||||
|
marginBottom: 0, //without 0 margin, view will start overlapping UserRibbon
|
||||||
|
paddingBottom: 32
|
||||||
|
} as ViewStyle,
|
||||||
|
|
||||||
|
listContainer: {
|
||||||
|
paddingTop: 16
|
||||||
|
} as ViewStyle
|
||||||
|
});
|
@ -55,8 +55,5 @@ export default EStyleSheet.create({
|
|||||||
doneButton:{borderRadius:16, backgroundColor:'$primaryBlue'},
|
doneButton:{borderRadius:16, backgroundColor:'$primaryBlue'},
|
||||||
thumbSelectContainer:{
|
thumbSelectContainer:{
|
||||||
marginTop:12,
|
marginTop:12,
|
||||||
},
|
}
|
||||||
userRibbonContainer:{
|
|
||||||
marginBottom: 12,
|
|
||||||
} as ViewStyle,
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user