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): Fix stats search position on narrow screens

Vlad Piersec1106e71f03c6
diff --git a/react/features/speaker-stats/components/SpeakerStatsSearch.js b/react/features/speaker-stats/components/SpeakerStatsSearch.js
index 34adc9017c..5b8bf1492f 100644
--- a/react/features/speaker-stats/components/SpeakerStatsSearch.js
+++ b/react/features/speaker-stats/components/SpeakerStatsSearch.js
@@ -9,12 +9,18 @@ import { useSelector } from 'react-redux';
import { getFieldValue } from '../../base/react';
import { isSpeakerStatsSearchDisabled } from '../functions';
-const useStyles = makeStyles(() => {
+const useStyles = makeStyles(theme => {
return {
speakerStatsSearch: {
position: 'absolute',
right: '80px',
- top: '8px'
+ top: '8px',
+
+ [theme.breakpoints.down('400')]: {
+ left: 20,
+ right: 0,
+ top: 42
+ }
}
};
});