diff --git a/controllets/animated-button-container-controllet/animated-button-container-controllet.html b/controllets/animated-button-container-controllet/animated-button-container-controllet.html
index dc2a5a3..1632a8f 100644
--- a/controllets/animated-button-container-controllet/animated-button-container-controllet.html
+++ b/controllets/animated-button-container-controllet/animated-button-container-controllet.html
@@ -135,8 +135,9 @@
},
ready: function(){
- this.$.window.style.height = this.height;
- this.$.window.style.width = this.width;
+ this.$.window.style.height = this.height + "vh";
+ this.$.window.style.width = this.width + "vw";
+ this.$.close.style.left = (this.width - 1) + "vw"
},
_onOpenClick: function() {
diff --git a/controllets/create-card-controllet/create-card-controllet.html b/controllets/create-card-controllet/create-card-controllet.html
index 2e8d6b7..ccc9993 100644
--- a/controllets/create-card-controllet/create-card-controllet.html
+++ b/controllets/create-card-controllet/create-card-controllet.html
@@ -268,8 +268,8 @@
' width="300"' +
' height="300"' +
' type="'+ this.type + '"' +
- ' text="'+ this.comment + '"' +
- ' legend="'+ this.title + '">';
+ ' comment="'+ this.comment + '"' +
+ ' title="'+ this.title + '">';
if(this.type == 'link'){
card += '