Fix rendering of very large images

See comments for screenshots.
This commit is contained in:
patriceac 2023-01-09 09:21:16 -08:00 committed by GitHub
parent 8d9cd0e30b
commit bfa1f57930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,8 +250,10 @@ button#resume {
} }
img { img {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.15); box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
width: 100%; }
object-fit: contain; div.img-preview img {
width:100%;
height: 100%;
} }
.line-separator { .line-separator {
background: var(--background-color3); background: var(--background-color3);