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