mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): strict boolean conditions
This commit is contained in:
@ -16,16 +16,14 @@
|
||||
opacity: .01;
|
||||
touch-action: none;
|
||||
z-index: $z-index-backdrop;
|
||||
|
||||
&.backdrop-hide {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&.backdrop-no-tappable {
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
|
||||
body.backdrop-no-scroll {
|
||||
overflow: hidden;
|
||||
|
||||
:host(.backdrop-hide) {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
:host(.backdrop-no-tappable) {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user