fix(core): collection modal position after modal style changes (#5289)

fix https://github.com/toeverything/AFFiNE/issues/5270
fix TOV-161
This commit is contained in:
Peng Xiao
2023-12-13 08:14:55 +00:00
parent cd2efb4f0b
commit 098787bd0c

View File

@@ -27,7 +27,7 @@ export const useSelectPage = ({
contentOptions={{
style: {
padding: 0,
transform: 'translate(-50%,calc(-50% + 16px))',
transform: 'translateY(16px)',
maxWidth: 976,
backgroundColor: 'var(--affine-white)',
},