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 += ''; }else{ diff --git a/controllets/data-sevc-controllet/data-sevc-controllet.html b/controllets/data-sevc-controllet/data-sevc-controllet.html index 324dfad..8d3a9d3 100644 --- a/controllets/data-sevc-controllet/data-sevc-controllet.html +++ b/controllets/data-sevc-controllet/data-sevc-controllet.html @@ -460,7 +460,7 @@ Example:
- +
@@ -722,9 +722,9 @@ Example: if(this.selectedDatalet == undefined) /* this.$.visualization_slider_area.innerHTML = '';*/ - this.$.visualization_slider_area.innerHTML = '' + - '' + '' + @@ -733,9 +733,9 @@ Example: /*this.$.visualization_slider_area.innerHTML = '';*/ - this.$.visualization_slider_area.innerHTML = '' + - '' + @@ -1012,6 +1012,7 @@ Example: */ _textElementChanged : function(e){ if(this.selected == 3) { + this.generateDataletPreview(); this.injectDatalet(this.$.datalet_placeholder_2); } }, diff --git a/controllets/items-list-controllet/item-list-controllet.html b/controllets/items-list-controllet/item-list-controllet.html index 182819d..1d52852 100644 --- a/controllets/items-list-controllet/item-list-controllet.html +++ b/controllets/items-list-controllet/item-list-controllet.html @@ -179,8 +179,8 @@ Example: }, ready : function(){ - this.$.container.style.height = this.height; - this.$.container.style.width = this.width; + this.$.container.style.height = this.height + "vh"; + this.$.container.style.width = this.width + "vw"; $(this.$.container).perfectScrollbar(); diff --git a/controllets/paper-card-controllet/paper-card-controllet.html b/controllets/paper-card-controllet/paper-card-controllet.html index de78dd0..a2c0ba7 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; } - .legend { + .title { position: relative; top: -50px; background: rgba(0,0,0,0.8); @@ -103,10 +103,10 @@ -