fix(core): unexpected history preview style (#6944)

close TOV-865

https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
This commit is contained in:
JimmFly 2024-05-15 08:48:36 +00:00
parent 486044f0fb
commit f48cd0dfef
No known key found for this signature in database
GPG Key ID: 14A6F56854E1BED7

View File

@ -67,7 +67,7 @@ export const previewContainer = style({
},
])
),
'&[data-distance="> 20"]': {
'&[data-distance="20"],&[data-distance="> 20"]': {
transform: `scale(0) translateY(calc(${-8 * 20}px + ${previewTopOffset}))`,
opacity: 0,
zIndex: -20,