Skip to content

Commit

Permalink
fix(splitter): fix ie issue with gutter icon (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
anrodkin authored and pimenovoleg committed Oct 19, 2018
1 parent 341c3b6 commit 193c475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/splitter/splitter.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ export class McGutterDirective implements OnInit {
if (this.disabled) {
this.setAttr(AttributeProperty.Disabled, 'true');
}

// fix IE issue with gutter icon. flex-direction is requied for flex alignment options
this.setStyle(StyleProperty.FlexDirection, this.isVertical() ? 'row' : 'column');
}

private isVertical(): boolean {
Expand Down

0 comments on commit 193c475

Please sign in to comment.