Skip to content

Commit

Permalink
fix(tabs): tab spacing on desktop incorrect (angular#6681)
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl authored and jelbourn committed Sep 1, 2017
1 parent 4191b4d commit b678119
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/tabs/_tabs-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $mat-tab-animation-duration: 500ms !default;
// Mixin styles for labels that are contained within the tab header.
@mixin tab-label {
height: $mat-tab-bar-height;
padding: 0 12px;
padding: 0 24px;
cursor: pointer;
box-sizing: border-box;
opacity: 0.6;
Expand Down
8 changes: 7 additions & 1 deletion src/lib/tabs/tab-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@

@media ($mat-xsmall) {
.mat-tab-label {
min-width: 72px;
padding: 0 12px;
}
}

@media ($mat-small) {
.mat-tab-label {
padding: 0 12px;
}
}

Expand Down

0 comments on commit b678119

Please sign in to comment.