Merge pull request #284 from a-thug/develop

Fix scaling for large monitor
This commit is contained in:
Amruth Pillai
2020-08-03 22:24:23 +05:30
committed by GitHub

View File

@ -34,6 +34,7 @@ const Artboard = () => {
className={styles.container} className={styles.container}
style={{ style={{
transform: `scale(${width / 1680})`, transform: `scale(${width / 1680})`,
transformOrigin: `${width / 1680 > 1.0 ? `top left` : ``}`,
}} }}
> >
{template === 'onyx' && <Onyx data={state} />} {template === 'onyx' && <Onyx data={state} />}