Skip to content

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

fix(speaker-stats): labels spearator line fixed and remove footer space

Gabriel Borlea85581266e44e
diff --git a/react/features/speaker-stats/components/web/SpeakerStats.js b/react/features/speaker-stats/components/web/SpeakerStats.js
index 4374b6988a..28892389b0 100644
--- a/react/features/speaker-stats/components/web/SpeakerStats.js
+++ b/react/features/speaker-stats/components/web/SpeakerStats.js
@@ -20,11 +20,17 @@ import SpeakerStatsSearch from './SpeakerStatsSearch';
const useStyles = makeStyles(theme => {
return {
+ footer: {
+ display: 'none !important'
+ },
+ labelsContainer: {
+ position: 'relative'
+ },
separator: {
position: 'absolute',
- width: '100%',
+ width: 'calc(100% + 48px)',
height: 1,
- left: 0,
+ left: -24,
backgroundColor: theme.palette.border02
},
searchSwitchContainer: {
@@ -74,6 +80,7 @@ const SpeakerStats = () => {
return (
<Dialog
cancelKey = 'dialog.close'
+ classes = {{ footer: classes.footer }}
hideCancelButton = { true }
submitDisabled = { true }
titleKey = 'speakerStats.speakerStats'
@@ -100,11 +107,11 @@ const SpeakerStats = () => {
}
</div>
{ displayLabels && (
- <>
+ <div className = { classes.labelsContainer }>
<SpeakerStatsLabels
showFacialExpressions = { showFacialExpressions ?? false } />
<div className = { classes.separator } />
- </>
+ </div>
)}
<SpeakerStatsList />
</div>
diff --git a/react/features/speaker-stats/components/web/SpeakerStatsList.js b/react/features/speaker-stats/components/web/SpeakerStatsList.js
index 5dca9162c7..662d1b0e47 100644
--- a/react/features/speaker-stats/components/web/SpeakerStatsList.js
+++ b/react/features/speaker-stats/components/web/SpeakerStatsList.js
@@ -11,7 +11,8 @@ import SpeakerStatsItem from './SpeakerStatsItem';
const useStyles = makeStyles(theme => {
return {
list: {
- marginTop: `${theme.spacing(3)}px`
+ marginTop: `${theme.spacing(3)}px`,
+ marginBottom: `${theme.spacing(3)}px`
},
item: {
height: `${theme.spacing(7)}px`,