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(participants-pane) added style comments

Calin Chitu1c360ce5b73f
diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js b/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js
index 7fbbd32a06..3845777ea5 100644
--- a/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js
+++ b/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js
@@ -47,6 +47,10 @@ export const CollapsibleRoom = ({ room, searchString }: Props) => {
const title
= `${room.name
|| t('breakoutRooms.mainRoom')} (${roomParticipantsNr})`;
+
+ // Regarding the fact that we have 3 sections, we apply
+ // a certain height percentage for every section in order for all to fit
+ // inside the participants pane container
const containerStyle
= roomParticipantsNr > 3 && styles.collapsibleRoomContainer;
diff --git a/react/features/participants-pane/components/native/LobbyParticipantList.js b/react/features/participants-pane/components/native/LobbyParticipantList.js
index 02c3367f2a..ce8774d8f4 100644
--- a/react/features/participants-pane/components/native/LobbyParticipantList.js
+++ b/react/features/participants-pane/components/native/LobbyParticipantList.js
@@ -54,6 +54,10 @@ const LobbyParticipantList = ({ theme }: Props) => {
}
</View>
);
+
+ // Regarding the fact that we have 3 sections, we apply
+ // a certain height percentage for every section in order for all to fit
+ // inside the participants pane container
const style = participants.length > 1 && styles.lobbyListContent;
return (
diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.js b/react/features/participants-pane/components/native/MeetingParticipantList.js
index 0b416e41db..935d8946f0 100644
--- a/react/features/participants-pane/components/native/MeetingParticipantList.js
+++ b/react/features/participants-pane/components/native/MeetingParticipantList.js
@@ -188,6 +188,10 @@ class MeetingParticipantList extends PureComponent<Props> {
? `${_currentRoom.name} (${_participantsCount})`
: t('participantsPane.headings.participantsList',
{ count: _participantsCount });
+
+ // Regarding the fact that we have 3 sections, we apply
+ // a certain height percentage for every section in order for all to fit
+ // inside the participants pane container
const containerStyle
= _participantsCount > 3 && styles.meetingListContainer;