Open PDipendra opened 4 months ago
Initially its good
But when i move vertically it shows
const [crop, setCrop] = useState({ x: 0, y: 0 }) const [zoom, setZoom] = useState(1);
return (
);
.container { position: relative; background-color: lavender; max-height: 90vh; min-height: 90vh; width: 900px; margin: 5rem auto 0;
.cropperWrapper { background-color: rgb(13, 173, 96); height: 300px; width: 100%; position: absolute; top: 0; left: 0; right: 0; .cropperArea { width: 100% !important; height: 100% !important; } }
}
Why do you override the internal CSS classes?
Initially its good
But when i move vertically it shows
const [crop, setCrop] = useState({ x: 0, y: 0 }) const [zoom, setZoom] = useState(1);
return (
);
.container { position: relative; background-color: lavender; max-height: 90vh; min-height: 90vh; width: 900px; margin: 5rem auto 0;
}