fix(core): center peek style (#9127)

fix PD-1912
This commit is contained in:
pengx17
2024-12-12 12:33:30 +00:00
parent ab1ad65858
commit 152a406ced

View File

@@ -43,6 +43,13 @@ export const modalContentContainer = style({
},
},
},
'screen and (width > 640px) and (width <= 1024px)': {
selectors: {
[`${modalContentWrapper}[data-mode="fit"] &`]: {
paddingRight: 12,
},
},
},
},
selectors: {
[`${modalContentWrapper}[data-mode="max"] &`]: {
@@ -107,5 +114,8 @@ export const modalControls = style({
left: 0,
padding: '8px',
},
'screen and (width > 640px) and (width <= 1024px)': {
paddingLeft: 0,
},
},
});