Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Improve rendering on IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 21, 2014
1 parent bafec4b commit 3c5c138
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions paper-calculator-key.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<style>

:host {
display: block;
position: relative;
}

Expand Down
4 changes: 2 additions & 2 deletions paper-calculator-panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
updateSize: function() {
var w = 1 / (1 + this.drawerWidthRatio) * 100;
this.$.main.style.width = this.$.drawer.style.left =
this.wideMode ? w + '%' : null;
this.wideMode ? w + '%' : '';
this.$.drawer.style.width = this.wideMode ?
100 - w + '%' : this.drawerWidthRatio * 100 + '%';
this.opened = false;
Expand All @@ -117,7 +117,7 @@

positionDrawer: function(x) {
var s = this.$.drawer.style;
s.webkitTransform = s.transform = x ? 'translate3d(' + x + ', 0, 0)' : null;
s.webkitTransform = s.transform = x ? 'translate3d(' + x + ', 0, 0)' : '';
},

trackStart: function(e) {
Expand Down

0 comments on commit 3c5c138

Please sign in to comment.