Skip to content

Commit

Permalink
fix(tabs: styles): Fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
marker-dao committed Sep 4, 2023
1 parent b577355 commit f69d996
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ $material-indicator-length-secondary: 100% !default;
$material-indicator-border-radius-secondary: 8px !default;

@if $size == "default" {
$material-tabs-item-padding: 12px 16px !default;
$material-tabs-item-padding-horizontal: 12px !default;
$material-tabs-item-padding-vertical: 16px !default;
$material-tabs-item-padding: $material-tabs-item-padding-horizontal $material-tabs-item-padding-vertical !default;
$material-tab-height: auto !default;
$material-tab-min-width: 90px !default;
$material-base-icon-margin: 8px !default;
Expand All @@ -41,7 +43,9 @@ $material-indicator-border-radius-secondary: 8px !default;
}

@else if $size == "compact" {
$material-tabs-item-padding: 6px 12px !default;
$material-tabs-item-padding-horizontal: 6px !default;
$material-tabs-item-padding-vertical: 12px !default;
$material-tabs-item-padding: $material-tabs-item-padding-horizontal $material-tabs-item-padding-vertical !default;
$material-tab-height: auto !default;
$material-tab-min-width: 82px !default;
$material-base-icon-margin: 8px !default;
Expand Down

0 comments on commit f69d996

Please sign in to comment.