Commit 35420b088e57b4b650b1cb7eb8898372e9210b43
1 parent
e29ee8c3
paper-card-controllet fullscreen mode bugs fixing
Showing
1 changed file
with
10 additions
and
3 deletions
controllets/paper-card-controllet/paper-card-controllet.html
@@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
39 | height: 50px; | 39 | height: 50px; |
40 | padding: 0 16px; | 40 | padding: 0 16px; |
41 | left: 0; right: 0; | 41 | left: 0; right: 0; |
42 | - z-index: 1; | 42 | + z-index: 1000; |
43 | word-wrap: break-word; | 43 | word-wrap: break-word; |
44 | } | 44 | } |
45 | paper-fab { | 45 | paper-fab { |
@@ -113,7 +113,7 @@ | @@ -113,7 +113,7 @@ | ||
113 | top: 5%; | 113 | top: 5%; |
114 | margin-right: auto; | 114 | margin-right: auto; |
115 | margin-left: auto; | 115 | margin-left: auto; |
116 | - z-index: 1000; | 116 | + z-index: 1100; |
117 | display: none; | 117 | display: none; |
118 | padding: 40px; | 118 | padding: 40px; |
119 | line-height: 20px; | 119 | line-height: 20px; |
@@ -277,12 +277,19 @@ | @@ -277,12 +277,19 @@ | ||
277 | return; | 277 | return; |
278 | } | 278 | } |
279 | 279 | ||
280 | + var html = this.$.content.innerHTML; | ||
281 | + this.$.content.innerHTML = ""; | ||
282 | + this.$.fullscreen_content.innerHTML = html; | ||
283 | + | ||
280 | this.$.fullscreen_container.style.display = "inline-block"; | 284 | this.$.fullscreen_container.style.display = "inline-block"; |
281 | - this.$.fullscreen_content.innerHTML = this.$.content.innerHTML; | ||
282 | }, | 285 | }, |
283 | 286 | ||
284 | _handleCloseFullscreenClick: function(e){ | 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 | this.$.fullscreen_container.style.display = "none"; | 293 | this.$.fullscreen_container.style.display = "none"; |
287 | } | 294 | } |
288 | }) | 295 | }) |