0
    
          
  
  
    
            Strikethrough text in formula
Hey you guys, I have the following problem: I'm using a formula to show text in red or white colour with the "styled" code. I want to add the "strikethrough" option in order to show that the information is over or done. The current code is this:
if 'status' = true then
     styled('position' , "red")
 else
     styled('position', "white")
 end
6 replies
- 
  
You can use CSS styling also:
if status then
html("<p style='background-color:red;color:white;text-align:center;text-decoration-line:line-through;'>" + position + "</p>")
else
html("<p style='text-align:center;'>" + position + "</p>")
end 
Content aside
- 2 yrs agoLast active
 - 6Replies
 - 78Views
 - 
    2
    Following
    
 

