mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Popover): fix gap under the triangle (#10148)
This commit is contained in:
parent
0beacfa2a9
commit
3317fcbb0c
@ -83,7 +83,8 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
border-top-color: currentColor;
|
border-top-color: currentColor;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
transform: translate(-50%, 100%);
|
transform: translate(-50%, 0%);
|
||||||
|
margin-bottom: calc(0px - var(--van-popover-arrow-size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,7 +117,8 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-color: currentColor;
|
border-left-color: currentColor;
|
||||||
transform: translate(100%, -50%);
|
transform: translate(0%, -50%);
|
||||||
|
margin-right: calc(0px - var(--van-popover-arrow-size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -149,7 +151,8 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
border-right-color: currentColor;
|
border-right-color: currentColor;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
transform: translate(-100%, -50%);
|
transform: translate(0%, -50%);
|
||||||
|
margin-left: calc(0px - var(--van-popover-arrow-size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,7 +185,8 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: currentColor;
|
border-bottom-color: currentColor;
|
||||||
transform: translate(-50%, -100%);
|
transform: translate(-50%, 0%);
|
||||||
|
margin-top: calc(0px - var(--van-popover-arrow-size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user