Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: [XEOS-9628] fix tooltip arrow not center bug
Browse files Browse the repository at this point in the history
Signed-off-by: csonchen <cson_chensheng@163.com>
  • Loading branch information
csonchen committed Aug 7, 2023
1 parent 2990aee commit 78819a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Tooltip/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
}
}
.tooltip {
&.bs-tooltip-top,
&.bs-tooltip-bottom {
.tooltip-arrow {
left: 50%!important;
transform: translate(-50%, 0)!important;
}
}
.tooltip-inner {
box-shadow: $shadow-tooltip;
}
Expand Down

0 comments on commit 78819a9

Please sign in to comment.