mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
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:
@@ -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}))`,
|
transform: `scale(0) translateY(calc(${-8 * 20}px + ${previewTopOffset}))`,
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
zIndex: -20,
|
zIndex: -20,
|
||||||
|
|||||||
Reference in New Issue
Block a user