Skip to content

Commit 0f4d733

Browse files
author
Tanner Reits
committed
fix(backdrop/modal): backdrop-blur works in desktop browsers
1 parent e363d20 commit 0f4d733

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/backdrop/backdrop.ionic.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
@import "./backdrop";
33

44
:host {
5-
background-color: globals.$ionic-color-base-black;
5+
background-color: rgba(globals.$ionic-color-base-black-rgb, 0.7);
66
backdrop-filter: blur(2px);
77
}

core/src/components/modal/modal.ionic.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// --------------------------------------------------
66

77
:host {
8-
--backdrop-opacity: 0.7;
8+
--backdrop-opacity: 1;
99
}
1010

1111
// Shape

0 commit comments

Comments
 (0)