cboard
cboard copied to clipboard
Fixing Issue: 1086 - Image editor
This PR fixes the issue where the image editing toolbar is below the picture, which necessitates use of scrollbar for smaller monitors.
Thanks @arjunanand23 ! Great job @RodriSanchez1 Could you please give a review?
hi @arjunanand23 ! Sorry for the late response. Good job! I think we can also redefine the height on setImageSize() like :
line 37
---------------------------------------------
const setImageSize = () => {
if (window.innerWidth < 576) {
return { width: 248, height: 182 };
} else {
return { width: 492, height: 300 };
}
};
To avoid unnecesary scroll on the DialogContent component. Let me know what you think!
close #1086