]> _ Git - odl.git/commitdiff
wip #4752 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 16:45:13 +0000 (17:45 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 16:45:13 +0000 (17:45 +0100)
app/Jobs/ProcessFluidbook.php

index bf3f8abb5e27f23031dea5cc00274d28043862c5..083351ef3b640c1474371b169714f8c380a5cbdc 100644 (file)
@@ -72,6 +72,7 @@ class ProcessFluidbook extends Compiler
         Files::rmdir($this->stub . '/pdfjs');
         $this->vdir->copyDirectory(resource_path('pdfjs'), '/pdfjs');
         $css = file_get_contents(resource_path('pdfjs/web/viewer.css'));
+        $css .= 'body{--sidebar-width:400px;}';
         $css .= '.article #sidebarContainer, .article .toolbar {display:none !important;}';
         $css .= '.article .pdfViewer{padding:0 !important;}';
         $css .= '.article #viewerContainer{top:0 !important;overflow:visible !important;}';