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

Commit

Permalink
fix(tab): Update horizontal padding mixin (#4678)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrodee authored May 3, 2019
1 parent 0590ebb commit d3ce9c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mdc-tab/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
// Public mixins

@mixin mdc-tab-horizontal-padding($padding) {
padding: 0 $padding;
padding-right: $padding;
padding-left: $padding;
}

@mixin mdc-tab-text-label-color($color) {
Expand Down
2 changes: 2 additions & 0 deletions packages/mdc-tab/mdc-tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
height: $mdc-tab-height;
// Explicitly setting margin to 0 is to override safari default margin for button elements.
margin: 0;
padding-top: 0;
padding-bottom: 0;
border: none;
outline: none;
background: none;
Expand Down

0 comments on commit d3ce9c9

Please sign in to comment.