chore: adjust hover tooltips for sidebar switch (#8574)

close PD-1762
This commit is contained in:
JimmFly
2024-10-22 05:22:16 +00:00
parent 6f1535014d
commit 5769d271e0

View File

@@ -57,7 +57,10 @@ export const SidebarSwitch = ({
<IconButton
tooltip={tooltipContent}
tooltipShortcut={['$mod', '/']}
tooltipOptions={{ side: open ? 'bottom' : 'right' }}
tooltipOptions={{
side: open ? 'bottom' : 'right',
rootOptions: { delayDuration: 700 },
}}
className={className}
size="24"
style={{