kvision icon indicating copy to clipboard operation
kvision copied to clipboard

Some styles not added to rendered HTML

Open bonzaiferroni opened this issue 5 months ago • 2 comments

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.

bonzaiferroni avatar Sep 09 '24 15:09 bonzaiferroni