Skip to content

Commit

Permalink
fix(Tabset): add tab-container class to the Tabset component for corr…
Browse files Browse the repository at this point in the history
…ect display
  • Loading branch information
jhuntoo committed Apr 17, 2016
1 parent 842da61 commit 2b951f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/tabs/tabset.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Component, OnInit, Input} from 'angular2/core';
import {Component, OnInit, HostBinding, Input} from 'angular2/core';
import {NgClass} from 'angular2/common';
import {NgTransclude} from '../common';
import {Tab} from './tab.directive';
Expand Down Expand Up @@ -36,6 +36,8 @@ export class Tabset implements OnInit {
@Input()
public get type():string {return this._type;};

@HostBinding('class') class = 'tab-container';

public set vertical(value:boolean) {
this._vertical = value;
this.setClassMap();
Expand Down

0 comments on commit 2b951f7

Please sign in to comment.