Hello! I have a question: is there a way to use `c...
# kvision
r
Hello! I have a question: is there a way to use
calc
CSS function (e.g.
calc(100vh - 150px)
) from within a
Style
object?
r
Hello. Yes, you can use custom style properties for that:
Copy code
val style = Style {
    setStyle("height", "calc(100vh - 150px)")
}
馃憤 1
r
That's what I was looking for. Thanks!