This is probably why your Figma variant's "size" property isn't working

"it works fine on the canvas, but not when it's nested inside another component?!"