NO BUG: Container grid display styling written to css when have switched to flex

Hi Simon,
Thanks so much for your report!

Correct, the values you set are written to the stylesheet. In this case, however, they have no influence on the flex container. On the other hand, you can use the flex settings in a grid, so that the logic for the “automatic removal of settings you have set yourself” can get super complex and would probably lead to more problems than is the case now.

Apart from one more line of CSS, there is no problem, and you are responsible for the extra line. If you don’t want them, clear the grid-template-columns setting and everything is fine.

Best regards,
timmse

1 Like