Fixes canvas max-width (#1637)

This commit is contained in:
Navaneeth Pk 2021-12-25 16:39:40 +05:30 committed by GitHub
parent f75b5eb4d4
commit 315760b6f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ export const Container = ({
const styles = {
width: currentLayout === 'mobile' ? deviceWindowWidth : '100%',
height: 2400,
maxWidth: '1292px',
maxWidth: `${canvasWidth}px`,
position: 'absolute',
backgroundSize: `${canvasWidth / 43}px 10px`,
};