mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 14:02:07 +03:00
parent
fcd4f8c4ff
commit
584d095895
@ -30,15 +30,21 @@ export const modalContentContainer = style({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
borderRadius: 12,
|
borderRadius: 12,
|
||||||
|
'@media': {
|
||||||
|
// for small screen
|
||||||
|
'screen and (width <= 640px)': {
|
||||||
selectors: {
|
selectors: {
|
||||||
[`${modalContentWrapper}:is([data-mode="max"], [data-mode="fit"], [data-mobile]) &`]:
|
[`${modalContentWrapper}:is([data-mode="max"], [data-mode="fit"]) &`]: {
|
||||||
{
|
|
||||||
height: '60%',
|
height: '60%',
|
||||||
width: 'calc(100% - 32px)',
|
width: 'calc(100% - 32px)',
|
||||||
paddingRight: 0,
|
paddingRight: 0,
|
||||||
paddingBottom: 32,
|
paddingBottom: 32,
|
||||||
alignSelf: 'flex-end',
|
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)',
|
||||||
|
Loading…
Reference in New Issue
Block a user