Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some styles not added to rendered HTML #538

Open
bonzaiferroni opened this issue Sep 9, 2024 · 0 comments
Open

Some styles not added to rendered HTML #538

bonzaiferroni opened this issue Sep 9, 2024 · 0 comments

Comments

@bonzaiferroni
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant