From abe727a3f74449c79f345fd1234ee2473c1fb576 Mon Sep 17 00:00:00 2001
From: pmakowski
Date: Sat, 12 May 2018 14:14:33 +0200
Subject: [PATCH] 7399-clickableOverlay-less-fix - added pointer-events rule to
.modal-popup class to let user click deeper than modals and reach to
overlay's div in modal-wrapper div
---
.../Magento/blank/web/css/source/components/_modals_extend.less | 2 ++
.../Magento/luma/web/css/source/components/_modals_extend.less | 2 ++
2 files changed, 4 insertions(+)
diff --git a/app/design/frontend/Magento/blank/web/css/source/components/_modals_extend.less b/app/design/frontend/Magento/blank/web/css/source/components/_modals_extend.less
index d324bbeac598f..5974b92186cb0 100644
--- a/app/design/frontend/Magento/blank/web/css/source/components/_modals_extend.less
+++ b/app/design/frontend/Magento/blank/web/css/source/components/_modals_extend.less
@@ -64,6 +64,8 @@
}
.modal-popup {
+ pointer-events: none;
+
.modal-title {
.lib-css(border-bottom, @modal-title__border);
.lib-css(font-weight, @font-weight__light);
diff --git a/app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less b/app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less
index b3165a41964e5..ed01ef7d027f5 100644
--- a/app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less
+++ b/app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less
@@ -64,6 +64,8 @@
}
.modal-popup {
+ pointer-events: none;
+
.modal-title {
.lib-css(border-bottom, @modal-title__border);
.lib-css(font-weight, @font-weight__light);