1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00

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
This commit is contained in:
Dan Brown 2022-01-01 18:18:37 +00:00
parent b438e0187c
commit 65830b428c
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -46,5 +46,9 @@
clear: both;
display: block;
}
.page-content a > img {
max-width: none;
}
</style>
@endif