feat(core): add journal search results to bs doc search (#9052)

fix AF-1842
This commit is contained in:
pengx17
2024-12-12 02:25:00 +00:00
parent 21969731a3
commit 30d6793978
7 changed files with 155 additions and 11 deletions
@@ -63,13 +63,23 @@ export const DateSelectorDialog = ({
>
{/* hack the menu positioning using the following fixed anchor */}
<div
style={{
position: 'fixed',
left: position[0],
top: position[1],
width: position[2],
height: position[3],
}}
style={
position
? {
position: 'fixed',
left: position[0],
top: position[1],
width: position[2],
height: position[3],
}
: {
position: 'fixed',
left: '50%',
top: '50%',
width: 0,
height: 0,
}
}
/>
</Menu>
);