Background-color width problem

Brass Contributor
So I got this problem with the background color getting small on specifik columns, someone got any idées? I've submitted the code below.
 

 {
"elmType": "div",
"txtContent": "",
"attributes": {
"iconName":

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"HSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "<=",
"operands": [
"@currentField",
"02:00:00"
]
},
"CheckMark",

{
"operator": "?",
"operands": [
{
"operator": ">",
"operands": [
"@currentField",
"02:00:00"
]
},
"Warning", ""
]
}
]
}
]
}
},
"style": {
"background-color":

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"HSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "<=",
"operands": [
"@currentField",
"02:00:00"
]
},
"#98FB98",

{
"operator": "?",
"operands": [
{
"operator": ">",
"operands": [
"@currentField",
"02:00:00"
]
},
"#FF6A6A", ""
]
}
]
}
]
}
},
"customRowAction": {
},
"children": [{
"elmType": "span",
"txtContent": "@currentField",
"attributes": {
"iconName":

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"LSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"MSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "<=",
"operands": [
"@currentField",
"01:00:00"
]
},
"CheckMark",

{
"operator": "?",
"operands": [
{
"operator": ">",
"operands": [
"@currentField",
"01:00:00"
]
},
"Warning", ""
]
}
]
}
]
}
]
}
},
"style": {
"border-radius":

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"@currentField",
""
]
},
"40", ""
]
},
"background-color":

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"LSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "==",
"operands": [
"[$Typav_x00e4_rende]",
"MSP"
]
},
"",

{
"operator": "?",
"operands": [
{
"operator": "<=",
"operands": [
"@currentField",
"01:00:00"
]
},
"#98FB98",

{
"operator": "?",
"operands": [
{
"operator": ">",
"operands": [
"@currentField",
"01:00:00"
]
},
"#FF6A6A", ""
]
}
]
}
]
}
]
}
},
"customRowAction": {
}
}]
}
 
0 Replies