Skip to content

Commit

Permalink
fix(css) add constant fallback and use var in values to avoid unexpec…
Browse files Browse the repository at this point in the history
…ted behavior. refs sweetalert2#1948
  • Loading branch information
tiagostutz committed Jun 6, 2020
1 parent 0436220 commit af283e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
}

// https://medium.com/@draganeror/iphone-x-layout-features-with-css-environment-variables-d57423433dec
//
// https://bitsofco.de/css-environment-variables/
// Browsers which partially support CSS Environment variables (iOS 11.0-11.2).
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
.swal2-actions {
Expand Down

0 comments on commit af283e3

Please sign in to comment.