2 @if (!app()->environment('testing'))
3 {!! file_get_contents(public_path('/dist/export-styles.css')) !!}
7 @if ($format === 'pdf')
10 /* PDF size adjustments */
16 h1, h2, h3, h4, h5, h6 {
21 max-width: 800px !important;
23 width: 100% !important;
27 width: auto !important;
30 /* Patches for CSS variable colors */
32 color: {{ setting('app-color') }};
36 border-left-color: {{ setting('app-color') }};
39 /* Patches for content layout */
40 .page-content .float {
41 float: none !important;
44 .page-content img.align-left, .page-content img.align-right {
45 float: none !important;
50 @if($engine === \BookStack\Entities\Tools\PdfGenerator::ENGINE_DOMPDF)
51 {{-- Fix for full width linked image sizes on DOMPDF --}}
52 .page-content a > img {
55 {{-- Undoes the above for table images to prevent visually worse scenario, Awaiting next DOMPDF release for patch --}}
56 .page-content td a > img {