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

BPS 2025: No margin for HTML fields UNDER REVIEW
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).


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


or with CSS:

#SEL_HTML_#{WFCON:7009}# .upsidePanel__content {margin-inline-end: 0px;margin-inline-start: 0px}



Best regards,
Daniel

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings