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
|
||||
= `${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;
|
||||
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue