1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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;