kvision
kvision copied to clipboard
Some styles not added to rendered HTML
I've been trying to assign the flex-grow
style like this:
div("peanut butter jelly time") {
background = Background(Color("green"))
fontSize = 32.px
flexGrow = 1
fontFamily = "Times New Roman"
}
expecting a css property of flex-grow = 1;
in the element that gets rendered. It doesn't appear to have that property:
<div style="background: green; font-size: 32px; font-family: Times New Roman;">peanut butter jelly time</div>
This appears to be the case for flex-shrink
and order
but not other properties I tried.