Ensure some spacing between properties within Nested Content items

This commit is contained in:
Kenn Jacobsen
2019-01-11 15:07:04 +01:00
committed by Sebastiaan Janssen
parent 0f7cb7c177
commit d350ab0789
2 changed files with 8 additions and 1 deletions

View File

@@ -3,6 +3,13 @@
position: relative;
}
.umb-nested-content-property-container {
position: relative;
&:not(:last-child){
margin-bottom: 12px;
}
}
.umb-nested-content--not-supported {
opacity: 0.3;
pointer-events: none;

View File

@@ -1,5 +1,5 @@
<div class="umb-pane">
<div ng-repeat="property in tab.properties" style="position: relative;">
<div ng-repeat="property in tab.properties" class="umb-nested-content-property-container">
<umb-property property="property" ng-class="{'umb-nested-content--not-supported': property.notSupported}">
<umb-property-editor model="property"></umb-property-editor>