mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-24 17:51:14 +02:00
chore: adjust modal heights
This commit is contained in:
parent
9c84c422d0
commit
7f1588d546
@ -248,6 +248,7 @@ export const FeatureStrategyMenu = ({
|
|||||||
PaperProps={{
|
PaperProps={{
|
||||||
sx: {
|
sx: {
|
||||||
borderRadius: '12px',
|
borderRadius: '12px',
|
||||||
|
height: newStrategyModalEnabled ? '100%' : 'auto',
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -45,7 +45,7 @@ const StyledContainer = styled(Box)(() => ({
|
|||||||
|
|
||||||
const StyledScrollableContent = styled(Box)(({ theme }) => ({
|
const StyledScrollableContent = styled(Box)(({ theme }) => ({
|
||||||
width: theme.breakpoints.values.md,
|
width: theme.breakpoints.values.md,
|
||||||
height: theme.spacing(52),
|
height: '100%',
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
padding: theme.spacing(4),
|
padding: theme.spacing(4),
|
||||||
paddingTop: theme.spacing(2),
|
paddingTop: theme.spacing(2),
|
||||||
|
@ -19,12 +19,13 @@ import CloseIcon from '@mui/icons-material/Close';
|
|||||||
const StyledDialog = styled(Dialog)(({ theme }) => ({
|
const StyledDialog = styled(Dialog)(({ theme }) => ({
|
||||||
'& .MuiDialog-paper': {
|
'& .MuiDialog-paper': {
|
||||||
borderRadius: theme.shape.borderRadiusLarge,
|
borderRadius: theme.shape.borderRadiusLarge,
|
||||||
|
height: '100%',
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledScrollableContent = styled(Box)(({ theme }) => ({
|
const StyledScrollableContent = styled(Box)(({ theme }) => ({
|
||||||
width: theme.breakpoints.values.md,
|
width: theme.breakpoints.values.md,
|
||||||
minHeight: '318px',
|
height: '100%',
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
Loading…
Reference in New Issue
Block a user