fix(overflow-menu) Pin reactions on menu bottom on mobile web (#10599)

Move some styles from SCSS to JSS
This commit is contained in:
Robert Pintilii
2021-12-13 15:51:05 +02:00
committed by GitHub
parent 69cbb7e103
commit a6a24fa973
7 changed files with 42 additions and 16 deletions

View File

@@ -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})`
}
};
});