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 56151a4 commit eac397e
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: 10px 16px !default;
$material-tabs-item-padding-horizontal: 10px !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: 4px 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 eac397e

Please sign in to comment.