feat(native-participants-pane) updated styles for meeting participant list
This commit is contained in:
parent
f49c05c666
commit
34ccd56691
|
@ -15,8 +15,8 @@ export const MeetingParticipantList = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style = { styles.lobbyList }>
|
<View style = { styles.meetingList }>
|
||||||
<Text style = { styles.lobbyListDescription }>
|
<Text style = { styles.meetingListDescription }>
|
||||||
{t('participantsPane.headings.participantsList',
|
{t('participantsPane.headings.participantsList',
|
||||||
{ count: participants.length })}
|
{ count: participants.length })}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
|
@ -8,6 +8,26 @@ const participantState = {
|
||||||
justifyContent: 'center'
|
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.
|
* The style for content.
|
||||||
*/
|
*/
|
||||||
|
@ -186,9 +206,13 @@ export default {
|
||||||
top: 4
|
top: 4
|
||||||
},
|
},
|
||||||
lobbyList: {
|
lobbyList: {
|
||||||
marginLeft: 16,
|
...participantList,
|
||||||
marginRight: 16,
|
marginTop: 8
|
||||||
position: 'relative'
|
},
|
||||||
|
|
||||||
|
meetingList: {
|
||||||
|
...participantList,
|
||||||
|
marginTop: 16
|
||||||
},
|
},
|
||||||
|
|
||||||
lobbyListDetails: {
|
lobbyListDetails: {
|
||||||
|
@ -196,18 +220,16 @@ export default {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
paddingBottom: 16,
|
|
||||||
paddingTop: 16,
|
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
},
|
},
|
||||||
|
|
||||||
lobbyListDescription: {
|
lobbyListDescription: {
|
||||||
color: BaseTheme.palette.text01,
|
...participantListDescription
|
||||||
paddingBottom: 8,
|
},
|
||||||
paddingTop: 8,
|
|
||||||
position: 'relative',
|
meetingListDescription: {
|
||||||
width: '55%'
|
...participantListDescription
|
||||||
},
|
},
|
||||||
|
|
||||||
lobbyListActions: {
|
lobbyListActions: {
|
||||||
|
@ -223,7 +245,7 @@ export default {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
height: 88,
|
height: 88,
|
||||||
paddingRight: 16,
|
paddingRight: 16,
|
||||||
position: 'absolute',
|
position: 'relative',
|
||||||
right: 0,
|
right: 0,
|
||||||
left: 0
|
left: 0
|
||||||
},
|
},
|
||||||
|
@ -236,7 +258,7 @@ export default {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
height: 88,
|
height: 88,
|
||||||
paddingRight: 16,
|
paddingRight: 16,
|
||||||
position: 'absolute',
|
position: 'relative',
|
||||||
right: 0,
|
right: 0,
|
||||||
left: 0
|
left: 0
|
||||||
},
|
},
|
||||||
|
@ -255,7 +277,8 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
inviteButton: {
|
inviteButton: {
|
||||||
backgroundColor: BaseTheme.palette.action01
|
backgroundColor: BaseTheme.palette.action01,
|
||||||
|
marginTop: 8
|
||||||
},
|
},
|
||||||
|
|
||||||
inviteLabel: {
|
inviteLabel: {
|
||||||
|
|
Loading…
Reference in New Issue