fix position relaitve issue for property editors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
<div class="umb-property-editor db">
|
||||
<div class="umb-property-editor db" ng-class="{'umb-property-editor--preview': preview}">
|
||||
<div disable-tabindex="preview">
|
||||
<div class="umb-property-editor__view" ng-include="propertyEditorView"></div>
|
||||
<div class="umb-property-editor__overlay" ng-show="preview === true"></div>
|
||||
<div ng-include="propertyEditorView"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user