Limit the size of zoomed-in source images

If the source image has a high enough resolution it won't fit on the screen when hovering over it. This simple fix limits the max size so the user always has a chance to see the full image.
This commit is contained in:
patriceac 2022-12-28 17:30:59 -08:00 committed by GitHub
parent 451ab7e84c
commit 0f05f9c32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1112,6 +1112,8 @@ div.task-initimg:hover div.task-fs-initimage {
z-index: 9999;
box-shadow: 0 0 30px #000;
margin-top:-64px;
max-width: 75vw;
max-height: 75vh;
}
div.top-right {
position: absolute;