|
@@ -50,7 +50,7 @@ export const PractiseDriver = defineComponent({
|
|
|
// 初始化部分引导位置
|
|
|
const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
options.config.stageRadius = 5;
|
|
|
- options.config.stagePadding = 8;
|
|
|
+ options.config.stagePadding = 4;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";
|
|
@@ -498,7 +498,7 @@ export const FollowDriver = defineComponent({
|
|
|
// 初始化部分引导位置
|
|
|
const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
options.config.stageRadius = 5;
|
|
|
- options.config.stagePadding = 8;
|
|
|
+ options.config.stagePadding = 4;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";
|
|
@@ -703,7 +703,7 @@ export const EvaluatingDriver = defineComponent({
|
|
|
// 初始化部分引导位置
|
|
|
const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
options.config.stageRadius = 5;
|
|
|
- options.config.stagePadding = 8;
|
|
|
+ options.config.stagePadding = 4;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";
|