apps/browser/js/browser.js
// a consistently sized gutter on the left
a consistently sized gutter on the left
a consistently sized gutter on the left
function browser_handleWindowResize() {
    var leftPos = 'translate(' + -(window.innerWidth - 50) + 'px)';
    if (!this.gutterPosRule) {
      var css = '.tabs-screen #main-screen { transform: ' + leftPos + '; }';
      var insertId = this.styleSheet.cssRules.length - 1;
      this.gutterPosRule = this.styleSheet.insertRule(css, insertId);
    } else {
      var rule = this.styleSheet.cssRules[this.gutterPosRule];
      rule.style.transform = leftPos;
    }
  }
function browser_handleWindowResize ( ) { var leftPos = 'translate(' + - ( window . innerWidth - 50 ) + 'px)' ; if ( ! this . gutterPosRule ) { var css = '.tabs-screen #main-screen { transform: ' + leftPos + '; }' ; var insertId = this . styleSheet . cssRules . length - 1 ; this . gutterPosRule = this . styleSheet . insertRule ( css , insertId ) ; } else { var rule = this . styleSheet . cssRules [ this . gutterPosRule ] ; rule . style . transform = leftPos ; } }
a consistently sized gutter on the left
a consistently sized gutter on the left