SOLVED: Button element width does not work in query loop

Browser: Chrome (new)
OS: Windows

Hello,

If we have a button in the query loop and set its width to 100%, it will not work and the button will keep its default width. Please see the link below. The button width is set to 100%, but it doesn’t apply. When I turn off the query loop, the problem is solved.

https://try.bricksbuilder.io/t8f1f855/sample-page/

Also, css is generated 3 times for the width of the button.

css

Hello @jolia,

thank you for your report. I can replicate it and will add to the bug tracker. Once we fix this issue, we will update this topic.

Thanks,
Matej

This issue should be fixed since the introduction of @layer.
Please let us know if you encounter any problems.