Hi @pmaurizi ,
It is not possible to change the dimensions of a visual dynamically. Look at this way , if there are other visuals built and placed closer to the card. Changing the dimensions dynamically may cause the other visual not visible.
Did I answer your question? Mark my post as a solution and also give KUDOS !
Proud to be a Datanaut!