blockcard corrections
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user