I read that all the default hubspot modules have style fields.
Now I have a image module on my Hubl template that looks like this.
{% dnd_module path="@hubspot/linked_image",
img={
"alt": "Stock placeholder image with grayscale geometrical mountain landscape",
"loading": "lazy",
"max_height": 451,
"max_width": 605,
"size_type": "auto_custom_max",
"src": get_asset_url("../images/grayscale-mountain.png")
},
styles={
"alignment" : {
"alignment" : {
"horizontal_align" : "CENTER"
}
}
}
%}
It seems that the alignment option is not working. What is the correct syntax for the styles fields?