From: Dan Brown Date: Sat, 1 Jan 2022 18:18:37 +0000 (+0000) Subject: Fixed linked images being micro on pdf export X-Git-Tag: v21.12.1~1^2~12 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/65830b428c87a8c947d663b178beeb8639e7828e 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 --- 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