cancel
Showing results for 
Search instead for 
Did you mean: 

Blox - Container Format (Remove White Field Space Below Container)

Dennis_M
8 - Cloud Apps
8 - Cloud Apps

I am using a BloX container as a title.  I have white space below the container (see picture).  "spacing": {"padding":0} in Configuration.   

BloX script below.  Is there a tip to remove the white field space below the container?
{
"style": "",
"script": "",
"title": "",
"titleStyle": [
{
"display": "none"
}
],
"showCarousel": false,
"body": [
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "Retail Sales",
"style": {
"backgroundColor": "#50a8ad",
"text-align": "center",
"font-weight": "bold",
"font-size": "24px",
"margin": "0px"
}
}
]
}
],
"actions": []
}

 

1 ACCEPTED SOLUTION

Ophir_Buchman
Sisense Team Member
Sisense Team Member

Hi @Dennis_M 

The answer is in the "widget" DOM object:

Ophir_Buchman_0-1651820449675.png

 

View solution in original post

4 REPLIES 4

Ophir_Buchman
Sisense Team Member
Sisense Team Member

Hi @Dennis_M 

The answer is in the "widget" DOM object:

Ophir_Buchman_0-1651820449675.png

 

Thank you Ophir for your quick response. I was able to change the height as you pictured, but I cannot make it "stick" when I refresh the page.  Do I need to add the entire element code as a widget script? - D

I'm working on the same issue and wondering how you got it to stick. Also wondering where this code was implemented. Is this a script for the Blox widget? I'm not sure where to find the widget DOM object.

jmn3
8 - Cloud Apps
8 - Cloud Apps

I am having a similar issue and cannot make the change stick.