mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
Change chonge request overview breakpoint.
This commit is contained in:
parent
87cec28e75
commit
1a1a24b4b2
@ -37,23 +37,23 @@ import { useActionableChangeRequests } from 'hooks/api/getters/useActionableChan
|
||||
import { useUiFlag } from 'hooks/useUiFlag.ts';
|
||||
import { ChangeRequestRequestedApprovers } from './ChangeRequestRequestedApprovers/ChangeRequestRequestedApprovers.tsx';
|
||||
|
||||
const breakpoint = 'md';
|
||||
|
||||
const StyledAsideBox = styled(Box)(({ theme }) => ({
|
||||
width: '30%',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
[theme.breakpoints.down('sm')]: {
|
||||
[theme.breakpoints.down(breakpoint)]: {
|
||||
width: '100%',
|
||||
},
|
||||
}));
|
||||
|
||||
const StyledPaper = styled(Paper)(({ theme }) => ({
|
||||
marginTop: theme.spacing(2),
|
||||
marginLeft: theme.spacing(2),
|
||||
width: '70%',
|
||||
padding: theme.spacing(1, 2),
|
||||
borderRadius: theme.shape.borderRadiusLarge,
|
||||
[theme.breakpoints.down('sm')]: {
|
||||
marginLeft: 0,
|
||||
[theme.breakpoints.down(breakpoint)]: {
|
||||
width: '100%',
|
||||
},
|
||||
}));
|
||||
@ -74,7 +74,8 @@ const StyledButton = styled(Button)(({ theme }) => ({
|
||||
|
||||
const ChangeRequestBody = styled(Box)(({ theme }) => ({
|
||||
display: 'flex',
|
||||
[theme.breakpoints.down('sm')]: {
|
||||
columnGap: theme.spacing(2),
|
||||
[theme.breakpoints.down(breakpoint)]: {
|
||||
flexDirection: 'column',
|
||||
},
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user