mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(overflow-menu) Pin reactions on menu bottom on mobile web (#10599)
Move some styles from SCSS to JSS
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
import { makeStyles } from '@material-ui/core';
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import { DRAWER_MAX_HEIGHT } from '../../constants';
|
||||
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -25,7 +27,8 @@ type Props = {
|
||||
const useStyles = makeStyles(theme => {
|
||||
return {
|
||||
drawer: {
|
||||
backgroundColor: theme.palette.ui02
|
||||
backgroundColor: theme.palette.ui02,
|
||||
maxHeight: `calc(${DRAWER_MAX_HEIGHT})`
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user