Remove padding on the chat-widget-launcher

Hey guys,

Wondering if its possible to add a way to remove the padding on the chat element with the data-test-id=“chat-widget-launcher”. The padding blows up the clickable area of the chat and can be frustrating as it tends to cover buttons on smaller screens.

Cheers

p.s sorry if labelling for the post is incorrect!

Hey @jPacione

Within the Conversations API Overview, you’ll find a section on how to load inline embed styling through the Conversations Settings.

The example here is to add the inline embed selector:

window.hsConversationsSettings = {
 loadImmediately: false,
 inlineEmbedSelector: '#some-id',
 enableWidgetCookieBanner: true,
 disableAttachment: true
};

/* ... */

window.HubSpotConversations.widget.load();

Once this is done, you can add inline embed styling:

<div id="hubspot-conversations-inline-parent">
 <iframe id="hubspot-conversations-inline-iframe" />
</div>

And then potentially change the layout style:

#hubspot-conversations-inline-iframe {
 	width: 300px;
 height: 500px;
 border:none;
 }

I hope this helps!