feat(participants-pane) added style comments
This commit is contained in:
parent
73f3409f0d
commit
1c360ce5b7
|
@ -47,6 +47,10 @@ export const CollapsibleRoom = ({ room, searchString }: Props) => {
|
||||||
const title
|
const title
|
||||||
= `${room.name
|
= `${room.name
|
||||||
|| t('breakoutRooms.mainRoom')} (${roomParticipantsNr})`;
|
|| 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
|
const containerStyle
|
||||||
= roomParticipantsNr > 3 && styles.collapsibleRoomContainer;
|
= roomParticipantsNr > 3 && styles.collapsibleRoomContainer;
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,10 @@ const LobbyParticipantList = ({ theme }: Props) => {
|
||||||
}
|
}
|
||||||
</View>
|
</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;
|
const style = participants.length > 1 && styles.lobbyListContent;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -188,6 +188,10 @@ class MeetingParticipantList extends PureComponent<Props> {
|
||||||
? `${_currentRoom.name} (${_participantsCount})`
|
? `${_currentRoom.name} (${_participantsCount})`
|
||||||
: t('participantsPane.headings.participantsList',
|
: t('participantsPane.headings.participantsList',
|
||||||
{ count: _participantsCount });
|
{ 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
|
const containerStyle
|
||||||
= _participantsCount > 3 && styles.meetingListContainer;
|
= _participantsCount > 3 && styles.meetingListContainer;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue