-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): add new directive 'layout-gap' #4
Comments
<div fxLayout="column" fxFill>
<div fxLayout fxLayoutGap="17px" fxFlex >
<div class="one" fxFlex="20" fxLayoutAlign="center center"> A </div>
<div class="two" fxFlex="80" fxLayoutAlign="center center"> B </div>
</div>
</div> |
So confusing ... not sure to use fxFlexLayoutGap or fx-layout-gap as examples show both? |
@un33k - That was a comment for alpha-releases. The @angular convention is to use camelCase notations for directive markup/selectors. <div fxLayout="column" fxFill>
<div fxLayout fxLayoutGap="17px" fxFlex >
<div class="one" fxFlex="20" fxLayoutAlign="center center"> A </div>
<div class="two" fxFlex="80" fxLayoutAlign="center center"> B </div>
</div>
</div>
|
@ThomasBurleson clear now. thx |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The intent is to insert a gap between the immediate flex children of an element defining both the layout and layout-gap attributes. The result is a column or row of items that have an 8px gap between each item but no gap/margin applied to the final element nor to a single item.
The text was updated successfully, but these errors were encountered: