mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Toast: tap highlight color when unclickable (#1914)
This commit is contained in:
parent
b0faa7bbe0
commit
1be1f1e53a
@ -1,7 +1,6 @@
|
|||||||
// This file is auto gererated by build/build-entry.js
|
// This file is auto gererated by build/build-entry.js
|
||||||
export default {
|
export default {
|
||||||
'changelog.en-US': () => import('../markdown/changelog.en-US.md'),
|
'changelog.en-US': () => import('../markdown/changelog.en-US.md'),
|
||||||
'changelog.generated': () => import('../markdown/changelog.generated.md'),
|
|
||||||
'changelog.zh-CN': () => import('../markdown/changelog.zh-CN.md'),
|
'changelog.zh-CN': () => import('../markdown/changelog.zh-CN.md'),
|
||||||
'contribution.zh-CN': () => import('../markdown/contribution.zh-CN.md'),
|
'contribution.zh-CN': () => import('../markdown/contribution.zh-CN.md'),
|
||||||
'intro.en-US': () => import('../markdown/intro.en-US.md'),
|
'intro.en-US': () => import('../markdown/intro.en-US.md'),
|
||||||
|
@ -17,8 +17,14 @@
|
|||||||
transform: translate3d(-50%, -50%, 0);
|
transform: translate3d(-50%, -50%, 0);
|
||||||
background-color: rgba(0, 0, 0, .7);
|
background-color: rgba(0, 0, 0, .7);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* should not add pointer-events: none directly to body tag
|
||||||
|
* that will cause unexpected tap-highlight-color in mobile safari
|
||||||
|
*/
|
||||||
&--unclickable {
|
&--unclickable {
|
||||||
pointer-events: none;
|
* {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--text {
|
&--text {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user