mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 18:51:32 +10:00
Merge pull request #284 from a-thug/develop
Fix scaling for large monitor
This commit is contained in:
@ -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} />}
|
||||||
|
|||||||
Reference in New Issue
Block a user