feat(native-participants-pane) updated styles for meeting participant list

This commit is contained in:
Calin Chitu 2021-05-26 11:29:21 +03:00 committed by Hristo Terezov
parent f49c05c666
commit 34ccd56691
2 changed files with 38 additions and 15 deletions

View File

@ -15,8 +15,8 @@ export const MeetingParticipantList = () => {
const { t } = useTranslation();
return (
<View style = { styles.lobbyList }>
<Text style = { styles.lobbyListDescription }>
<View style = { styles.meetingList }>
<Text style = { styles.meetingListDescription }>
{t('participantsPane.headings.participantsList',
{ count: participants.length })}
</Text>

View File

@ -8,6 +8,26 @@ const participantState = {
justifyContent: 'center'
};
/**
* The style for participant list.
*/
const participantList = {
marginLeft: 16,
marginRight: 16,
position: 'relative'
};
/**
* The style for participant list description.
*/
const participantListDescription = {
color: BaseTheme.palette.text01,
paddingBottom: 8,
paddingTop: 8,
position: 'relative',
width: '55%'
};
/**
* The style for content.
*/
@ -186,9 +206,13 @@ export default {
top: 4
},
lobbyList: {
marginLeft: 16,
marginRight: 16,
position: 'relative'
...participantList,
marginTop: 8
},
meetingList: {
...participantList,
marginTop: 16
},
lobbyListDetails: {
@ -196,18 +220,16 @@ export default {
display: 'flex',
flexDirection: 'row',
overflow: 'hidden',
paddingBottom: 16,
paddingTop: 16,
position: 'relative',
width: '100%'
},
lobbyListDescription: {
color: BaseTheme.palette.text01,
paddingBottom: 8,
paddingTop: 8,
position: 'relative',
width: '55%'
...participantListDescription
},
meetingListDescription: {
...participantListDescription
},
lobbyListActions: {
@ -223,7 +245,7 @@ export default {
flexDirection: 'row',
height: 88,
paddingRight: 16,
position: 'absolute',
position: 'relative',
right: 0,
left: 0
},
@ -236,7 +258,7 @@ export default {
flexDirection: 'row',
height: 88,
paddingRight: 16,
position: 'absolute',
position: 'relative',
right: 0,
left: 0
},
@ -255,7 +277,8 @@ export default {
},
inviteButton: {
backgroundColor: BaseTheme.palette.action01
backgroundColor: BaseTheme.palette.action01,
marginTop: 8
},
inviteLabel: {