mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-16 18:32:25 +01:00
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:
parent
451ab7e84c
commit
0f05f9c32c
@ -1112,6 +1112,8 @@ div.task-initimg:hover div.task-fs-initimage {
|
|||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
box-shadow: 0 0 30px #000;
|
box-shadow: 0 0 30px #000;
|
||||||
margin-top:-64px;
|
margin-top:-64px;
|
||||||
|
max-width: 75vw;
|
||||||
|
max-height: 75vh;
|
||||||
}
|
}
|
||||||
div.top-right {
|
div.top-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user