diff --git a/controllets/create-card-controllet/create-card-controllet.html b/controllets/create-card-controllet/create-card-controllet.html index ccc9993..9f50952 100644 --- a/controllets/create-card-controllet/create-card-controllet.html +++ b/controllets/create-card-controllet/create-card-controllet.html @@ -269,7 +269,7 @@ ' height="300"' + ' type="'+ this.type + '"' + ' comment="'+ this.comment + '"' + - ' title="'+ this.title + '">'; + ' card-title="'+ this.title + '">'; if(this.type == 'link'){ card += '<preview-datalet data-url="'+ this.link + '" url="'+ this.link + '"></preview-datalet>'; }else{ diff --git a/controllets/paper-card-controllet/paper-card-controllet.html b/controllets/paper-card-controllet/paper-card-controllet.html index cea788f..0782050 100644 --- a/controllets/paper-card-controllet/paper-card-controllet.html +++ b/controllets/paper-card-controllet/paper-card-controllet.html @@ -33,7 +33,7 @@ height: 21px; } - .title { + .legend { position: relative; top: -50px; background: rgba(0,0,0,0.8); @@ -103,10 +103,10 @@ <content></content> </div> - <template is="dom-if" if="{{title}}"> + <template is="dom-if" if="{{cardTitle}}"> - <div class="title horizontal layout center"> - <span>{{title}}</span> + <div class="legend horizontal layout center"> + <span>{{cardTitle}}</span> <!-- Adding icon based on card type --> <template is="dom-if" if="{{checkType(type, 'text')}}"> @@ -170,7 +170,7 @@ type: String, value: undefined }, - title:{ + cardTitle:{ type: String, value: undefined },