Commit 35420b088e57b4b650b1cb7eb8898372e9210b43

Authored by Luigi Serra
1 parent e29ee8c3

paper-card-controllet fullscreen mode bugs fixing

controllets/paper-card-controllet/paper-card-controllet.html
... ... @@ -39,7 +39,7 @@
39 39 height: 50px;
40 40 padding: 0 16px;
41 41 left: 0; right: 0;
42   - z-index: 1;
  42 + z-index: 1000;
43 43 word-wrap: break-word;
44 44 }
45 45 paper-fab {
... ... @@ -113,7 +113,7 @@
113 113 top: 5%;
114 114 margin-right: auto;
115 115 margin-left: auto;
116   - z-index: 1000;
  116 + z-index: 1100;
117 117 display: none;
118 118 padding: 40px;
119 119 line-height: 20px;
... ... @@ -277,12 +277,19 @@
277 277 return;
278 278 }
279 279  
  280 + var html = this.$.content.innerHTML;
  281 + this.$.content.innerHTML = "";
  282 + this.$.fullscreen_content.innerHTML = html;
  283 +
280 284 this.$.fullscreen_container.style.display = "inline-block";
281   - this.$.fullscreen_content.innerHTML = this.$.content.innerHTML;
282 285 },
283 286  
284 287 _handleCloseFullscreenClick: function(e){
285 288  
  289 + var html = this.$.fullscreen_content.innerHTML;
  290 + this.$.fullscreen_content.innerHTML = "";
  291 + this.$.content.innerHTML = html;
  292 +
286 293 this.$.fullscreen_container.style.display = "none";
287 294 }
288 295 })
... ...