Background-color width problem

%3CLINGO-SUB%20id%3D%22lingo-sub-1000957%22%20slang%3D%22en-US%22%3EBackground-color%20width%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1000957%22%20slang%3D%22en-US%22%3ESo%20I%20got%20this%20problem%20with%20the%20background%20color%20getting%20small%20on%20specifik%20columns%2C%20someone%20got%20any%20id%C3%A9es%3F%20I've%20submitted%20the%20code%20below.%3CBR%20%2F%3E%26amp%3Bnbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%26amp%3Bnbsp%3B%7B%3CBR%20%2F%3E%22elmType%22%3A%20%22div%22%2C%3CBR%20%2F%3E%22txtContent%22%3A%20%22%22%2C%3CBR%20%2F%3E%22attributes%22%3A%20%7B%3CBR%20%2F%3E%22iconName%22%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22HSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Blt%3B%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2202%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22CheckMark%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Bgt%3B%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2202%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22Warning%22%2C%20%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22style%22%3A%20%7B%3CBR%20%2F%3E%22background-color%22%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22HSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Blt%3B%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2202%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%2398FB98%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Bgt%3B%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2202%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%23FF6A6A%22%2C%20%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22customRowAction%22%3A%20%7B%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22children%22%3A%20%5B%7B%3CBR%20%2F%3E%22elmType%22%3A%20%22span%22%2C%3CBR%20%2F%3E%22txtContent%22%3A%20%22%40currentField%22%2C%3CBR%20%2F%3E%22attributes%22%3A%20%7B%3CBR%20%2F%3E%22iconName%22%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22LSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22MSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Blt%3B%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2201%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22CheckMark%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Bgt%3B%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2201%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22Warning%22%2C%20%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22style%22%3A%20%7B%3CBR%20%2F%3E%22border-radius%22%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%2240%22%2C%20%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22background-color%22%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22LSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3D%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%5B%24Typav_x00e4_rende%5D%22%2C%3CBR%20%2F%3E%22MSP%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Blt%3B%3D%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2201%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%2398FB98%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%3F%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22operator%22%3A%20%22%26amp%3Bgt%3B%22%2C%3CBR%20%2F%3E%22operands%22%3A%20%5B%3CBR%20%2F%3E%22%40currentField%22%2C%3CBR%20%2F%3E%2201%3A00%3A00%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22%23FF6A6A%22%2C%20%22%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%22customRowAction%22%3A%20%7B%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%26amp%3Bnbsp%3B%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1000957%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
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