Update CursorTooltip offset for improved positioning
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Increased the tooltip offset from 10 to 15 pixels to enhance visibility and prevent overlap with UI elements, improving user experience during interactions.
This commit is contained in:
parent
5ed086cf8b
commit
88d6ef6f13
@ -3,7 +3,7 @@ import { createPortal } from 'react-dom'
|
||||
import { Card } from 'antd'
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
const OFFSET = 10
|
||||
const OFFSET = 15
|
||||
|
||||
const getTooltipRoot = () => {
|
||||
let root = document.getElementById('cursor-tooltip-root')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user