Home > User Voice > BPS 2025: No margin for HTML fields

BPS 2025: No margin for HTML fields
1

MVP

Hi everyone,

if I'm using an HTML field it would be great, if there wouldn't be any margins imposed on the control (1).
My only idea right now is to remove the class which causes this via JavaScript in the HTML field, so that it is aligned with the other controls (2).

<script>
document.getElementById("SEL_HTML_#{WFCON:7009}#").querySelector(".grid-template__panel .upsidePanel__content").classList.remove("upsidePanel__content")
</script>

or with CSS:
<style>
#SEL_HTML_#{WFCON:7009}# .upsidePanel__content {margin-inline-end: 0px;margin-inline-start: 0px}
</style>


Best regards,
Daniel