fix(speaker-stats): Fix stats search position on narrow screens
This commit is contained in:
parent
d84ba85f58
commit
1106e71f03
|
@ -9,12 +9,18 @@ import { useSelector } from 'react-redux';
|
||||||
import { getFieldValue } from '../../base/react';
|
import { getFieldValue } from '../../base/react';
|
||||||
import { isSpeakerStatsSearchDisabled } from '../functions';
|
import { isSpeakerStatsSearchDisabled } from '../functions';
|
||||||
|
|
||||||
const useStyles = makeStyles(() => {
|
const useStyles = makeStyles(theme => {
|
||||||
return {
|
return {
|
||||||
speakerStatsSearch: {
|
speakerStatsSearch: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
right: '80px',
|
right: '80px',
|
||||||
top: '8px'
|
top: '8px',
|
||||||
|
|
||||||
|
[theme.breakpoints.down('400')]: {
|
||||||
|
left: 20,
|
||||||
|
right: 0,
|
||||||
|
top: 42
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue