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
|
||||
export default {
|
||||
'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'),
|
||||
'contribution.zh-CN': () => import('../markdown/contribution.zh-CN.md'),
|
||||
'intro.en-US': () => import('../markdown/intro.en-US.md'),
|
||||
|
@ -17,9 +17,15 @@
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
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 {
|
||||
* {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
&--text {
|
||||
padding: 12px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user