Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

fxLayoutGap and fxFlexOrder #189

@MihailoVasovic

Description

@MihailoVasovic

I have issue with fxLayoutGap when i set fxFlexOrder on a div element.As you can see, there is gap between item 1 and item 3, but no gap between item 3 and item 2 or item 4 and item 5. Am I doing something wrong or is this a bug?

@Component({
  selector: 'test-app',
  template: `
    
    <div class="container"
     fxLayout
     fxLayout.xs="column"
     fxLayoutAlign="center"
     fxLayoutGap="10px"
     fxLayoutGap.xs="0">
  <div class="item item-1" fxFlex="30%">Item 1</div>
  <div class="item item-2" fxFlex="30%" fxFlexOrder="3" >Item 2</div>
  <div class="item item-3" fxFlex="30%">Item 3</div>
</div>

screen shot 2017-02-20 at 5 14 40 pm

https://plnkr.co/edit/XwBm8pCOT3ZNYS6fCqo8?p=preview

Metadata

Metadata

Labels

P4Low-priority issue that needs to be resolvedbug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions