From 492feaaa26cb361299ddab69f9fd312ab29ed26f Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 25 Oct 2018 11:06:48 +0200 Subject: [PATCH] fix position relaitve issue for property editors --- .../less/components/umb-property-editor.less | 19 ++----------------- .../property/umb-property-editor.html | 5 ++--- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-property-editor.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-property-editor.less index a3e094d9be..8a43c95e6e 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-property-editor.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-property-editor.less @@ -1,19 +1,4 @@ -.umb-property-editor { - position: relative; -} - -.umb-property-editor__view{ - z-index: 1; - position: relative; -} - -.umb-property-editor__overlay { - display: block; - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; +.umb-property-editor--preview { + pointer-events: none; user-select: none; - z-index: 2; } \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html index 820721df9e..d027364913 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-editor.html @@ -1,6 +1,5 @@ -
+
-
-
+