updated header stlying

This commit is contained in:
noumantahir 2022-05-24 18:51:15 +05:00
parent cabb7c61ed
commit 28f2dc682d
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
import EStyleSheet from 'react-native-extended-stylesheet'; import EStyleSheet from 'react-native-extended-stylesheet';
import { getBottomSpace } from 'react-native-iphone-x-helper';
export default EStyleSheet.create({ export default EStyleSheet.create({
sheetContent: { sheetContent: {
@ -14,6 +15,7 @@ export default EStyleSheet.create({
}, },
modalContainer: { modalContainer: {
// paddingVertical: 4, // paddingVertical: 4,
paddingBottom:getBottomSpace()
}, },
@ -30,7 +32,10 @@ export default EStyleSheet.create({
color: '$primaryBlack', color: '$primaryBlack',
}, },
summaryStyle:{ summaryStyle:{
fontSize:12, fontSize:16,
paddingHorizontal:16,
color: '$primaryBlack',
fontWeight: '500',
}, },
inputContainer: { inputContainer: {
paddingHorizontal: 16, paddingHorizontal: 16,

View File

@ -190,7 +190,7 @@ const QuickReplyModal = ({ fetchPost }: QuickReplyModalProps, ref) => {
const _renderSummary = () => ( const _renderSummary = () => (
<TouchableOpacity onPress={() => _handleOnSummaryPress()}> <TouchableOpacity onPress={() => _handleOnSummaryPress()}>
<SummaryArea style={styles.summaryStyle} summary={headerText} /> <Text numberOfLines={2} style={styles.summaryStyle} >{headerText}</Text>
</TouchableOpacity> </TouchableOpacity>
); );