Closed jrieken closed 2 months ago
https://github.com/microsoft/vscode-prompt-tsx/pull/84 adds a failing/skipped test that shows the problem
Thanks!
@joyceerhl I notice this commit made a change to only count literals when they're part of messages. This change prevents flex sizing from working inside a singular message.
Was this change intentional? Moving the for
loop back outside the if
fixes the test Joh submitted, and all other tests still pass
Multiple nested element using flex-grow will all get the same budget, meaning tokens consumers by a former element are still signalled as being available to later elements.