vdoc: set max-width to img; do not stretch to page container (#8410)

pull/8421/head
Ned Palacios 2021-01-29 21:49:06 +08:00 committed by GitHub
parent 4a6642b79e
commit d7d069adc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -342,7 +342,8 @@ body {
overflow: hidden;
}
.doc-content img {
width: 100%;
width: auto;
max-width: 100%;
}
.doc-content p {
line-height: 1.4;