]> _ Git - fluidbook-html5.git/commitdiff
wait #2541 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 24 Jan 2019 18:34:54 +0000 (19:34 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 24 Jan 2019 18:34:54 +0000 (19:34 +0100)
style/fluidbook.less

index 1f17a7470dbcfb17877781b6c14809a8fdea5a77..729936fcc252912c4ee00bde51c1b0b4e513682f 100644 (file)
@@ -298,10 +298,12 @@ body, html {
 
 .background {
        background-repeat: no-repeat;
+       width: 100%;
+       height: 100%;
 
        img {
-               width: 100.2%;
-               height: 100%;
+               width: unit(@book-page-correct-width, px);
+               height: unit(@book-page-correct-height, px);
        }
 }