Browse Source

fix: Tooltip arrowPointAtCenter 1px shift bug

feat-css-var
tangjinzhou 3 years ago
parent
commit
f1384d16a5
  1. 2
      components/tooltip/placements.ts
  2. 0
      components/tooltip/style/index.tsx

2
components/tooltip/placements.ts

@ -37,7 +37,7 @@ export function getOverflowOptions(autoAdjustOverflow?: boolean | AdjustOverflow
export default function getPlacements(config: PlacementsConfig) {
const {
arrowWidth = 5,
arrowWidth = 4,
horizontalArrowShift = 16,
verticalArrowShift = 8,
autoAdjustOverflow,

0
components/tooltip/style/index.ts → components/tooltip/style/index.tsx

Loading…
Cancel
Save