-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hi!
I noticed that after upgrading from 12.1.0 to 13.0.0 hubspotClient.cms.pages.sitePagesApi.getPage() no longer returns breakpoint styles including margin and padding for layout sections.
Version 12.x returns breakpointStyles in styles objects in layoutSections.dnd_area.rowMetaData array like this
{
// ...
layoutSections: {
dnd_area: {
// ...
label: 'Main section',
name: 'dnd_area',
rowMetaData: [
{
cssClass: 'dnd-section',
styles: {
backgroundImage: {
backgroundPosition: 'TOP_CENTER',
backgroundSize: 'cover',
imageUrl: '.....'
},
breakpointStyles: {
default: {
hidden: false,
padding: {
bottom: { units: 'px', value: 25 },
left: { units: 'px', value: 0 },
right: { units: 'px', value: 0 },
top: { units: 'px', value: 20 }
}
}
},
forceFullWidthSection: true
}
}
// ...
}Metadata
Metadata
Assignees
Labels
No labels