1
votes

I`ve got a problem with fxLayoutGap. When I dynamically change document direction, gap`s margins didn`t changes. Can I fix this, or this haven`t solution?

stackblitz: https://stackblitz.com/edit/angular-yjuyuv

1
Hi, can you show your code?Abed Putra
@AbedPutra it`s on stackblitzMarkomar

1 Answers

1
votes

The fxLayoutGap just adds margin-bottom or margin-right style attributes, depending on fxLayout value. You need to change a style attribute dynamically also, or, that is much better, take another solution.