From 65830b428c87a8c947d663b178beeb8639e7828e Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 1 Jan 2022 18:18:37 +0000 Subject: [PATCH] Fixed linked images being micro on pdf export Was caused by max-width: 100% causing confusion when images were inside an anchor. This change resets that property on PDF exports allowing full width images to be shown as so without affecting smaller sizes. Fixes #3120 --- resources/views/common/export-styles.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/common/export-styles.blade.php b/resources/views/common/export-styles.blade.php index 967dc19ec..ae26613b1 100644 --- a/resources/views/common/export-styles.blade.php +++ b/resources/views/common/export-styles.blade.php @@ -46,5 +46,9 @@ clear: both; display: block; } + + .page-content a > img { + max-width: none; + } @endif \ No newline at end of file