resize image to fit bounds
This commit is contained in:
@@ -171,11 +171,13 @@
|
||||
|
||||
#new_profile_image {
|
||||
z-index: 1;
|
||||
transform: translateX(calc(-50% + var(--x-offset)))
|
||||
translateY(calc(-50% + var(--y-offset)));
|
||||
transform: translateX(calc(-50% + var(--x-offset) + 5px))
|
||||
translateY(calc(-50% + var(--y-offset) + 5px));
|
||||
position: absolute;
|
||||
left: calc(350px / 2);
|
||||
top: calc(350px / 2);
|
||||
width: var(--x-size);
|
||||
height: var(--y-size);
|
||||
}
|
||||
|
||||
#grab-area {
|
||||
|
||||
Reference in New Issue
Block a user