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
- 1 yr agoLast active
- 6Replies
- 68Views
-
2
Following