ui: Don't break flex layout when using `WithRemSize` (#12076)

This PR fixes an issue where the flex hierarchy wasn't getting broken by
the use of `WithRemSize`.

Release Notes:

- N/A
2f3102672cMarshall Bowers committed on 5/21/2024, 1:39:18 AM· committed by GitHubparent315e45f
2 files changedLine totals unavailable