Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
fix(tabs): Fix scroller indicator width issue
Browse files Browse the repository at this point in the history
Closes #281
  • Loading branch information
trimox committed Nov 13, 2017
1 parent 1c27c1f commit 30bd2d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/demo-app/components/tab-demo/tab-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ <h1 mdc-typography-display1>Tabs</h1>
</pre>

<div fxLayout="row">
<button mdc-button (click)="switchToTab()">Go To Tab 3</button>
<button mdc-button (click)="toggleDisabled()">Toggle Disabled Tab</button>
<button mdc-button (click)="switchToTab()">Go To Tab 3</button>
</div>
</div>

Expand Down
5 changes: 5 additions & 0 deletions src/theme/extend/tabs/mdc-tab-bar-scroller.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.mdc-tab-bar-scroller {
&__indicator--forward {
width: 31px;
}
}
2 changes: 2 additions & 0 deletions src/theme/extend/tabs/mdc-tabs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "./mdc-tab";
@import "./mdc-tab-bar-scroller";
2 changes: 1 addition & 1 deletion src/theme/material.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
@import "extend/mdc-dialog";
@import "extend/drawer/mdc-drawer";
@import "extend/list/mdc-list";
@import "extend/tabs/mdc-tab";
@import "extend/tabs/mdc-tabs";

0 comments on commit 30bd2d3

Please sign in to comment.