mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
fix(Popover): fix gap under the triangle (#10148)
This commit is contained in:
@@ -83,7 +83,8 @@
|
||||
bottom: 0;
|
||||
border-top-color: currentColor;
|
||||
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;
|
||||
border-right-width: 0;
|
||||
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;
|
||||
border-right-color: currentColor;
|
||||
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;
|
||||
border-top-width: 0;
|
||||
border-bottom-color: currentColor;
|
||||
transform: translate(-50%, -100%);
|
||||
transform: translate(-50%, 0%);
|
||||
margin-top: calc(0px - var(--van-popover-arrow-size));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user