simplify MFM position CSS

This commit is contained in:
Johann150 2023-05-27 11:37:30 +02:00
parent a72f4300aa
commit 3f9b09e3e7
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -187,7 +187,7 @@ export default defineComponent({
case 'position': {
const x = parseFloat(token.props.args.x ?? '0');
const y = parseFloat(token.props.args.y ?? '0');
style = `transform: translateX(${x}em) translateY(${y}em);`;
style = `transform: translate(${x}em, ${y}em);`;
break;
}
case 'scale': {