Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Calin Chitu34ccd56691e9
diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.js b/react/features/participants-pane/components/native/MeetingParticipantList.js
index 040319eb59..df5a911ee9 100644
--- a/react/features/participants-pane/components/native/MeetingParticipantList.js
+++ b/react/features/participants-pane/components/native/MeetingParticipantList.js
@@ -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>
diff --git a/react/features/participants-pane/components/native/styles.js b/react/features/participants-pane/components/native/styles.js
index 28ee4d3461..32a38d930b 100644
--- a/react/features/participants-pane/components/native/styles.js
+++ b/react/features/participants-pane/components/native/styles.js
@@ -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: {