@@ -30,15 +30,21 @@ export const modalContentContainer = style({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
borderRadius: 12,
|
borderRadius: 12,
|
||||||
selectors: {
|
'@media': {
|
||||||
[`${modalContentWrapper}:is([data-mode="max"], [data-mode="fit"], [data-mobile]) &`]:
|
// for small screen
|
||||||
{
|
'screen and (width <= 640px)': {
|
||||||
height: '60%',
|
selectors: {
|
||||||
width: 'calc(100% - 32px)',
|
[`${modalContentWrapper}:is([data-mode="max"], [data-mode="fit"]) &`]: {
|
||||||
paddingRight: 0,
|
height: '60%',
|
||||||
paddingBottom: 32,
|
width: 'calc(100% - 32px)',
|
||||||
alignSelf: 'flex-end',
|
paddingRight: 0,
|
||||||
|
paddingBottom: 32,
|
||||||
|
alignSelf: 'flex-end',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
selectors: {
|
||||||
[`${modalContentWrapper}[data-mode="max"] &`]: {
|
[`${modalContentWrapper}[data-mode="max"] &`]: {
|
||||||
width: 'calc(100% - 64px)',
|
width: 'calc(100% - 64px)',
|
||||||
height: 'calc(100% - 64px)',
|
height: 'calc(100% - 64px)',
|
||||||
|
|||||||
Reference in New Issue
Block a user