How to use space-evenly in Flex-Layout

1.9k views Asked by At

How can I use space-evenly in Flex-Layout in the fxLayoutAlign directive? From this sample, I don't see that option. I've tried reviewing the api documentation for fxLayoutAlign but there's some problem with that.

<div fxLayout='row' fxLayoutAlign='space-evenly center'>
<div>Content 1</div>
<div>Content 2</div>
</div>
1

There are 1 answers

1
Julia Passynkova On BEST ANSWER

You can just apply style directly if there is not in the framework yet

        <div fxLayout="row" style="justify-content:space-evenly">
            <div>Content 1</div>
            <div>Content 2</div>
        </div>