Created
September 15, 2020 08:25
-
-
Save skttl/af173d08c9d2986dcd4b7d16fb0b7677 to your computer and use it in GitHub Desktop.
Rowview for Umbraco Block list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="rowview"> | |
<div style="margin:0 0 10px;border:1px dashed #ccc;"> | |
<div style="margin:0 -5px;padding:10px;display:flex;"> | |
<div | |
ng-repeat="property in block.content.variants[0].tabs[0].properties" | |
ng-if="property.editor == 'Umbraco.BlockList'" | |
style="flex-grow:1;padding:0 5px;"> | |
<umb-property property="property"> | |
<umb-property-editor model="property"></umb-property-editor> | |
</umb-property> | |
</div> | |
</div> | |
</div> | |
</div> | |
<style type="text/css"> | |
.rowview .umb-control-group .control-header { | |
float:none; | |
width:auto; | |
display:flex; | |
} | |
.rowview .controls { | |
margin-left:0; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment