📱(frontend) enable Y-scroll on participants menu

Responsiveness issue. Fixed it, to allow user scrolling the
participants list.
This commit is contained in:
lebaudantoine
2024-09-03 13:37:46 +02:00
committed by aleb_the_flash
parent c8023573c6
commit 1fd1cb71ba

View File

@@ -78,6 +78,7 @@ export const ParticipantsList = () => {
<RiCloseLine /> <RiCloseLine />
</Button> </Button>
</Div> </Div>
<Div overflowY="scroll">
<H <H
lvl={2} lvl={2}
className={css({ className={css({
@@ -91,11 +92,7 @@ export const ParticipantsList = () => {
{t('participants.subheading').toUpperCase()} {t('participants.subheading').toUpperCase()}
</H> </H>
{raisedHandParticipants.length > 0 && ( {raisedHandParticipants.length > 0 && (
<div <Div marginBottom=".9375rem">
style={{
marginBottom: '.9375rem',
}}
>
<ParticipantsCollapsableList <ParticipantsCollapsableList
heading={t('participants.raisedHands')} heading={t('participants.raisedHands')}
participants={raisedHandParticipants} participants={raisedHandParticipants}
@@ -106,7 +103,7 @@ export const ParticipantsList = () => {
<LowerAllHandsButton participants={raisedHandParticipants} /> <LowerAllHandsButton participants={raisedHandParticipants} />
)} )}
/> />
</div> </Div>
)} )}
<ParticipantsCollapsableList <ParticipantsCollapsableList
heading={t('participants.contributors')} heading={t('participants.contributors')}
@@ -115,6 +112,7 @@ export const ParticipantsList = () => {
<ParticipantListItem participant={participant} /> <ParticipantListItem participant={participant} />
)} )}
/> />
</Div>
</Box> </Box>
) )
} }