blockcard corrections

This commit is contained in:
Niels Lyngsø
2020-04-08 15:33:04 +02:00
parent 7855870077
commit 33f507a575
2 changed files with 3 additions and 12 deletions

View File

@@ -5,8 +5,6 @@
.module("umbraco")
.component("umbBlockCard", {
templateUrl: "views/propertyeditors/blockeditor/blockcard/blockcard.component.html",
controller: BlockCardController,
controllerAs: "vm",
transclude: true,
bindings: {
blockConfigModel: "<",
@@ -14,15 +12,5 @@
}
});
function BlockCardController() {
var vm = this;
vm.$onInit = function() {
console.log(vm.blockConfigModel);
console.log(vm.elementTypeModel);
}
}
})();

View File

@@ -52,6 +52,9 @@ umb-block-card {
width: 100%;
padding-bottom: 10/16*100%;
background-color: @gray-11;
background-size: cover;
background-position: 50% 50%;
.__icon {
position: absolute;
width: 100%;