From 9aaafbffceb14d17fbfaf705ebaec24dd4e811c1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 23 Jan 2019 18:28:44 +0100 Subject: [PATCH] wait #2541 @2 --- js/libs/fluidbook/fluidbook.loader.js | 2 +- style/fluidbook.less | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index 159b8548..2e9d7a34 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -375,7 +375,7 @@ FluidbookLoader.prototype = { // Draw background if (this.backgrounds[page] !== undefined && this.backgrounds[page] !== null) { - ctx.drawImage(this.backgrounds[page].get(0), 0, 0, d, d); + ctx.drawImage(this.backgrounds[page].get(0), 0, 0, d * 1.002, d); } else { ctx.fillStyle = "#FFFFFF"; ctx.fillRect(0, 0, d, d); diff --git a/style/fluidbook.less b/style/fluidbook.less index ef4da119..1f17a747 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -300,7 +300,7 @@ body, html { background-repeat: no-repeat; img { - width: 100%; + width: 100.2%; height: 100%; } } @@ -570,10 +570,6 @@ body, html { .middle { background-image: url("../images/edges/edge-right-middle.png"); } - - .landscape & { - right: unit((-11-@correct-center)*@edge-scale, px); - } } } } -- 2.39.5